From 0681dc3b3ed85ac1098b63af7cc2a0e0089fff6f Mon Sep 17 00:00:00 2001 From: Allink Date: Fri, 16 Jun 2023 00:21:04 +0100 Subject: [PATCH] Apply Java plugin to subprojects --- build.gradle.kts | 1 + core/build.gradle.kts | 4 ---- shared/build.gradle.kts | 4 ---- v1_17_R1/build.gradle.kts | 4 ---- v1_18_R1/build.gradle.kts | 4 ---- v1_18_R2/build.gradle.kts | 4 ---- v1_19_R1/build.gradle.kts | 4 ---- v1_19_R2/build.gradle.kts | 4 ---- v1_19_R3/build.gradle.kts | 4 ---- v1_20_R1/build.gradle.kts | 4 ---- 10 files changed, 1 insertion(+), 36 deletions(-) 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