Skip to content

Commit d252f27

Browse files
committed
prevent gradle warning: decprecated feature with version 9
1 parent 6f6782f commit d252f27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ repositories {
88
mavenCentral()
99
}
1010

11-
sourceCompatibility = JavaVersion.VERSION_1_8
12-
targetCompatibility = JavaVersion.VERSION_1_8
13-
1411
dependencies {
1512

1613
implementation "org.apache.httpcomponents.client5:httpclient5:${httpClientVersion}"
@@ -29,6 +26,9 @@ dependencies {
2926
}
3027

3128
java {
29+
sourceCompatibility = JavaVersion.VERSION_1_8
30+
targetCompatibility = JavaVersion.VERSION_1_8
31+
3232
withJavadocJar()
3333
withSourcesJar()
3434
}

0 commit comments

Comments
 (0)