Gradle changes
This commit is contained in:
@@ -7,11 +7,14 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
implementation project(":eco-api")
|
||||
implementation project(":eco-core").getSubprojects()
|
||||
/*
|
||||
implementation project(":eco-core:core-plugin")
|
||||
implementation project(":eco-core:core-proxy")
|
||||
implementation project(":eco-core:core-backend")
|
||||
implementation project(":eco-core:core-nms:v1_16_R3")
|
||||
implementation project(path: ":eco-core:core-nms:v1_17_R1", configuration: 'mapped')
|
||||
*/
|
||||
}
|
||||
|
||||
allprojects {
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
plugins {
|
||||
id 'xyz.jpenilla.special-gradle' version '1.0.0-SNAPSHOT'
|
||||
}
|
||||
|
||||
group 'com.willfp'
|
||||
version rootProject.version
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.spigotmc:spigot:1.17.1-R0.1-SNAPSHOT:remapped-mojang'
|
||||
compileOnly 'net.kyori:adventure-api:4.9.1'
|
||||
compileOnly 'net.kyori:adventure-text-serializer-gson:4.8.1'
|
||||
}
|
||||
|
||||
specialGradle {
|
||||
minecraftVersion.set("1.17")
|
||||
specialSourceVersion.set("1.10.0")
|
||||
}
|
||||
|
||||
buildTools {
|
||||
quiet.set(true);
|
||||
}
|
||||
|
||||
configurations.create('mapped')
|
||||
|
||||
artifacts {
|
||||
mapped jar.outputs.files.files.toArray()[0]
|
||||
}
|
||||
|
||||
productionMappedJar.mustRunAfter(clean)
|
||||
productionMappedJar.mustRunAfter(compileKotlin)
|
||||
build.dependsOn productionMappedJar
|
||||
32
eco-core/core-nms/v1_17_R1/build.gradle.kts
Normal file
32
eco-core/core-nms/v1_17_R1/build.gradle.kts
Normal file
@@ -0,0 +1,32 @@
|
||||
plugins {
|
||||
id("io.papermc.paperweight.userdev") version "1.1.14"
|
||||
id("xyz.jpenilla.run-paper") version "1.0.4"
|
||||
}
|
||||
|
||||
group = "com.willfp"
|
||||
version = rootProject.version
|
||||
|
||||
dependencies {
|
||||
paperDevBundle("1.17.1-R0.1-SNAPSHOT")
|
||||
compileOnly("net.kyori:adventure-api:4.9.1")
|
||||
compileOnly("net.kyori:adventure-text-serializer-gson:4.8.1")
|
||||
}
|
||||
|
||||
tasks {
|
||||
build {
|
||||
dependsOn(reobfJar)
|
||||
}
|
||||
|
||||
compileJava {
|
||||
options.encoding = "UTF_8"
|
||||
options.release.set(16)
|
||||
}
|
||||
|
||||
javadoc {
|
||||
options.encoding = "UTF_8"
|
||||
}
|
||||
|
||||
processResources {
|
||||
filteringCharset = "UTF_8"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven { url "https://repo.jpenilla.xyz/snapshots/" }
|
||||
maven { url "https://papermc.io/repo/repository/maven-public/" }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user