Skip to content

Commit c2e651b

Browse files
Bump gradle version and docker compose plugin version
1 parent 8582268 commit c2e651b

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
// retrofit is why we need allow-opens. context: https://stackoverflow.com/questions/60915381/retrofit2-maven-project-illegal-reflective-access-warning // https://github.com/square/retrofit/issues/3341
1313
retrofitVersion = "2.11.0" // https://github.com/square/retrofit/releases
1414
okhttpVersion = "4.12.0" // https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
15-
dockerComposePluginVersion = "0.17.11" // https://github.com/avast/gradle-docker-compose-plugin/releases
15+
dockerComposePluginVersion = "0.17.19" // https://github.com/avast/gradle-docker-compose-plugin/releases
1616
}
1717
}
1818

@@ -25,8 +25,10 @@ subprojects {
2525
apply plugin: 'maven-publish' // necessary for jitpack
2626
apply plugin: 'docker-compose'
2727

28-
sourceCompatibility = 1.8
29-
targetCompatibility = 1.8
28+
java {
29+
sourceCompatibility = 1.8
30+
targetCompatibility = 1.8
31+
}
3032
repositories {
3133
maven { url "https://repo.maven.apache.org/maven2" }
3234
}
@@ -52,11 +54,11 @@ subprojects {
5254
options.compilerArgs << "-Xlint:deprecation"
5355
}
5456
}
55-
task integration(type: Test) {
57+
tasks.register('integration', Test) {
5658
useJUnitPlatform {
5759
includeTags 'integration'
5860
}
59-
if(JavaVersion.current() >= JavaVersion.VERSION_1_9) {
61+
if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {
6062
// If we don't have this, we get warnings for something about retrofit2.Platform
6163
jvmArgs "--add-opens=java.base/java.lang.invoke=ALL-UNNAMED"
6264
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)