splittet project to craftattack and varo flavors

This commit is contained in:
2025-04-04 21:35:07 +02:00
parent 6d0913fa0c
commit 4592d53d22
89 changed files with 177 additions and 188 deletions

28
craftattack/build.gradle Normal file
View File

@ -0,0 +1,28 @@
plugins {
id 'java'
id("com.gradleup.shadow") version "8.3.5"
}
dependencies {
implementation project(':core')
implementation project(':common')
compileOnly 'io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT'
compileOnly 'org.geysermc.floodgate:api:2.2.2-SNAPSHOT'
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'com.sparkjava:spark-core:2.9.4'
}
configurations {
shadowImplementation.extendsFrom implementation
}
shadowJar {
configurations = [project.configurations.shadowImplementation]
archiveClassifier.set('')
relocate 'org.apache.httpcomponents', 'eu.mhsl.lib.shadow.httpclient'
relocate 'com.sparkjava', 'eu.mhsl.lib.shadow.spark-core'
mergeServiceFiles()
}