Skip to content

Commit

Permalink
fix deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
marunjar committed Nov 30, 2023
1 parent bd90711 commit 794166c
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 26 deletions.
10 changes: 5 additions & 5 deletions android-week-view/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ plugins {
}

android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
namespace 'com.alamkanak.weekview'

compileSdk rootProject.ext.compileSdk

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
minSdk rootProject.ext.minSdk
targetSdk rootProject.ext.targetSdk
}
namespace 'com.alamkanak.weekview'
}

configurations {
Expand Down
14 changes: 7 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ if (buildUsesGoogle()) {
}

android {
namespace 'org.voidsink.anewjkuapp'

compileSdk rootProject.ext.compileSdk

dependenciesInfo {
// Disables dependency metadata when building APKs.
includeInApk = false
Expand All @@ -25,9 +29,6 @@ android {
buildConfig true
}

compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -38,8 +39,8 @@ android {
applicationId 'org.voidsink.anewjkuapp'
versionCode 140087
versionName '0.55.0'
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
minSdk rootProject.ext.minSdk
targetSdk rootProject.ext.targetSdk
multiDexEnabled true

vectorDrawables.useSupportLibrary = true // Android Plugin for Gradle 2.0.0
Expand Down Expand Up @@ -72,7 +73,7 @@ android {
}
}

flavorDimensions 'tier'
flavorDimensions = ['tier']

productFlavors {
google {
Expand Down Expand Up @@ -103,7 +104,6 @@ android {
excludes += ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt']
}
}
namespace 'org.voidsink.anewjkuapp'
}

dependencies {
Expand Down
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ tasks.register('clean', Delete) {
}

ext {
compileSdkVersion = 34
buildToolsVersion = '34.0.0'
targetSdkVersion = 34
minSdkVersion = 21
compileSdk = 34
targetSdk = 34
minSdk = 21
buildUsesGoogle = {
return getGradle().getStartParameter().getTaskRequests().toString().toLowerCase().contains('google')
}
Expand Down
10 changes: 5 additions & 5 deletions ckChangeLog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ plugins {
}

android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
namespace 'de.cketti.library.changelog'

compileSdk rootProject.ext.compileSdk

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
minSdk rootProject.ext.minSdk
targetSdk rootProject.ext.targetSdk
}
namespace 'de.cketti.library.changelog'
}

dependencies {
Expand Down
10 changes: 5 additions & 5 deletions sectionedRecyclerAdapter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,18 @@ plugins {
}

android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
namespace 'org.voidsink.sectionedrecycleradapter'

compileSdk rootProject.ext.compileSdk

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
minSdk rootProject.ext.minSdk
targetSdk rootProject.ext.targetSdk
}

buildTypes {
Expand All @@ -47,7 +48,6 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'org.voidsink.sectionedrecycleradapter'
}

dependencies {
Expand Down

0 comments on commit 794166c

Please sign in to comment.