Skip to content

Commit c711c60

Browse files
committed
Move java extension
1 parent a9dd66a commit c711c60

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

build-logic/src/main/kotlin/me.champeau.plugin-configuration.gradle.kts

+7
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ tasks.jar {
6161
}
6262
}
6363

64+
java {
65+
sourceCompatibility = JavaVersion.VERSION_1_8
66+
targetCompatibility = JavaVersion.VERSION_1_8
67+
withSourcesJar()
68+
withJavadocJar()
69+
}
70+
6471
gradlePlugin {
6572
website = providers.gradleProperty("POM_URL")
6673
vcsUrl = providers.gradleProperty("POM_URL")

build.gradle.kts

-7
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ dependencies {
4545
testImplementation("commons-io:commons-io:2.16.1")
4646
}
4747

48-
java {
49-
sourceCompatibility = JavaVersion.VERSION_1_8
50-
targetCompatibility = JavaVersion.VERSION_1_8
51-
withSourcesJar()
52-
withJavadocJar()
53-
}
54-
5548
jacoco {
5649
toolVersion = "0.8.12"
5750
}

0 commit comments

Comments
 (0)