Skip to content

Commit 9bf0711

Browse files
committed
chore: bump gradle & Java 21 support
1 parent 3635339 commit 9bf0711

File tree

10 files changed

+56
-33
lines changed

10 files changed

+56
-33
lines changed

gradle/wrapper/gradle-wrapper.jar

-16.8 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

gradlew

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/build-tools/android-metadata-generator/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apply plugin: 'java'
22
apply plugin: 'kotlin'
33

44
java {
5-
sourceCompatibility = '17'
6-
targetCompatibility = '17'
5+
sourceCompatibility = JavaVersion.VERSION_17
6+
targetCompatibility = JavaVersion.VERSION_17
77
}
88

99
// todo: check if still needed

test-app/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ android.useAndroidX=true
2222
NS_DEFAULT_BUILD_TOOLS_VERSION=35.0.0
2323
NS_DEFAULT_COMPILE_SDK_VERSION=35
2424
NS_DEFAULT_MIN_SDK_VERSION=21
25-
NS_DEFAULT_ANDROID_BUILD_TOOLS_VERSION=8.5.0
25+
NS_DEFAULT_ANDROID_BUILD_TOOLS_VERSION=8.7.0
2626

2727
ns_default_androidx_appcompat_version = 1.5.1
2828
ns_default_androidx_exifinterface_version = 1.3.7
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Sun Dec 08 19:56:04 AST 2024
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

test-app/runtime-binding-generator/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ dependencies {
77
}
88

99
java {
10-
sourceCompatibility = '17'
11-
targetCompatibility = '17'
10+
sourceCompatibility = JavaVersion.VERSION_17
11+
targetCompatibility = JavaVersion.VERSION_17
1212
}
1313

1414
// Disable compilation tasks as these are compiled *with* the runtime and not separately

test-app/runtime/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ android {
128128
}
129129
}
130130

131+
compileOptions {
132+
sourceCompatibility JavaVersion.VERSION_17
133+
targetCompatibility JavaVersion.VERSION_17
134+
}
135+
131136
buildTypes {
132137
release {
133138
minifyEnabled false
@@ -144,13 +149,13 @@ android {
144149
}
145150

146151
allprojects {
147-
gradle.projectsEvaluated {
152+
/* gradle.projectsEvaluated {
148153
tasks.withType(JavaCompile).tap {
149154
configureEach {
150155
options.compilerArgs << "-Xlint:all" << "-Werror"
151156
}
152157
}
153-
}
158+
}*/
154159
}
155160

156161
dependencies {

0 commit comments

Comments
 (0)