diff --git a/build.gradle.kts b/build.gradle.kts index 5cb8291..3455e51 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,6 +8,7 @@ version = "2.0" subprojects { apply(plugin = "com.github.johnrengelman.shadow") + apply(plugin = "java") java.sourceCompatibility = JavaVersion.VERSION_17 repositories { diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 3ce55f7..427b35f 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index 886497f..fe20009 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version diff --git a/v1_17_R1/build.gradle.kts b/v1_17_R1/build.gradle.kts index d9b39a2..88f66c3 100644 --- a/v1_17_R1/build.gradle.kts +++ b/v1_17_R1/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version diff --git a/v1_18_R1/build.gradle.kts b/v1_18_R1/build.gradle.kts index 367e075..4de4d41 100644 --- a/v1_18_R1/build.gradle.kts +++ b/v1_18_R1/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version diff --git a/v1_18_R2/build.gradle.kts b/v1_18_R2/build.gradle.kts index e61c43f..badd54e 100644 --- a/v1_18_R2/build.gradle.kts +++ b/v1_18_R2/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version diff --git a/v1_19_R1/build.gradle.kts b/v1_19_R1/build.gradle.kts index 38d0717..4fb0de6 100644 --- a/v1_19_R1/build.gradle.kts +++ b/v1_19_R1/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version diff --git a/v1_19_R2/build.gradle.kts b/v1_19_R2/build.gradle.kts index 4f80d43..02f8bd7 100644 --- a/v1_19_R2/build.gradle.kts +++ b/v1_19_R2/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version diff --git a/v1_19_R3/build.gradle.kts b/v1_19_R3/build.gradle.kts index e2e6579..6558dae 100644 --- a/v1_19_R3/build.gradle.kts +++ b/v1_19_R3/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version diff --git a/v1_20_R1/build.gradle.kts b/v1_20_R1/build.gradle.kts index 816e360..ce23f87 100644 --- a/v1_20_R1/build.gradle.kts +++ b/v1_20_R1/build.gradle.kts @@ -1,7 +1,3 @@ -plugins { - id("java") -} - group = rootProject.group version = rootProject.version