Skip to content

Commit 5db2002

Browse files
authored
Fix gradle deprecation warning (#113)
Motivation: Clean up legacy (deprecated) configuration Modification Use 'java' extension to avoid warning 'The org.gradle.api.plugins.JavaPluginConvention type has been deprecated' Doc: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#java_convention_deprecation
1 parent a1a1352 commit 5db2002

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ plugins {
99
group 'com.bisnode.opa'
1010
version '0.4.2'
1111

12-
sourceCompatibility = 1.8
13-
targetCompatibility = 1.8
12+
java {
13+
sourceCompatibility = JavaVersion.VERSION_1_8
14+
targetCompatibility = JavaVersion.VERSION_1_8
15+
}
1416

1517
repositories {
1618
mavenCentral()

0 commit comments

Comments
 (0)