diff --git a/api/build.gradle b/api/build.gradle index c4119d3..0674edf 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -1,4 +1,4 @@ -group = 'com.artillexstudios.axminions' +group = 'com.artillexstudios.axminions.api' version = rootProject.version shadowJar { diff --git a/build.gradle b/build.gradle index b16a6a3..0843946 100644 --- a/build.gradle +++ b/build.gradle @@ -134,21 +134,28 @@ allprojects { compileOnly 'org.black_ixx:playerpoints:3.2.6' } - shadowJar { - relocate("com.artillexstudios.axapi", "com.artillexstudios.axminions.libs.axapi") - relocate("org.h2", "com.artillexstudios.axminions.libs.h2") - relocate("org.jetbrains.kotlin", "com.artillexstudios.axminions.libs.kotlin") - relocate("com.zaxxer", "com.artillexstudios.axminions.libs.hikaricp") - relocate("org.bstats", "com.artillexstudios.axminions.libs.bstats") - relocate("net.byteflux", "com.artillexstudios.axminions.libs.libby") - relocate("net.kyori", "com.artillexstudios.axminions.libs.kyori") - relocate("revxrsal.commands", "com.artillexstudios.axminions.libs.lamp") - relocate("org.jetbrains.annotations", "com.artillexstudios.axminions.libs.annotations") - relocate("org.slf4j", "com.artillexstudios.axminions.libs.slf4j") - relocate("org.intellij.lang.annotations", "com.artillexstudios.axminions.libs.intellij.annotations") + compileKotlin { + kotlinOptions { + javaParameters = true + } } } + +shadowJar { + relocate("com.artillexstudios.axapi", "com.artillexstudios.axminions.libs.axapi") + relocate("org.h2", "com.artillexstudios.axminions.libs.h2") + relocate("org.jetbrains.kotlin", "com.artillexstudios.axminions.libs.kotlin") + relocate("com.zaxxer", "com.artillexstudios.axminions.libs.hikaricp") + relocate("org.bstats", "com.artillexstudios.axminions.libs.bstats") + relocate("net.byteflux", "com.artillexstudios.axminions.libs.libby") + relocate("net.kyori", "com.artillexstudios.axminions.libs.kyori") + relocate("revxrsal.commands", "com.artillexstudios.axminions.libs.lamp") + relocate("org.jetbrains.annotations", "com.artillexstudios.axminions.libs.annotations") + relocate("org.slf4j", "com.artillexstudios.axminions.libs.slf4j") + relocate("org.intellij.lang.annotations", "com.artillexstudios.axminions.libs.intellij.annotations") +} + kotlin { jvmToolchain(17) } diff --git a/common/build.gradle b/common/build.gradle index 2f8cc73..36cc455 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -1,4 +1,4 @@ -group = 'com.artillexstudios.axminions' +group = 'com.artillexstudios.axminions.common' version = rootProject.version processResources {