splittet project to core and common functionalities

This commit is contained in:
2025-04-04 20:08:53 +02:00
parent 71d5d8303d
commit 6d0913fa0c
203 changed files with 780 additions and 726 deletions

33
common/build.gradle Normal file
View File

@ -0,0 +1,33 @@
plugins {
id 'java'
id("com.gradleup.shadow") version "8.3.5"
}
dependencies {
implementation project(':core')
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()
}
jar {
enabled = false
}
build.dependsOn shadowJar