13
0
Dieser Commit ist enthalten in:
yoyosource 2022-02-23 18:21:00 +01:00
Ursprung 4adf62f78b
Commit fcaed2fcf9

Datei anzeigen

@ -20,20 +20,9 @@
import org.apache.tools.ant.taskdefs.condition.Os
import java.util.function.BiConsumer
plugins {
// Adding the base plugin fixes the following gradle warnings in IntelliJ:
//
// Warning: root project 'module-work-multi': Unable to resolve all content root directories
// Details: java.lang.IllegalStateException: No value has been specified for this provider.
//
// Warning: root project 'module-work-multi': Unable to resolve additional project configuration.
// Details: java.lang.IllegalStateException: No value has been specified for this provider.
id 'java'
id 'base'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.0.0'
}
group 'de.steamwar'
@ -60,26 +49,35 @@ ext {
}
compileJava.options.encoding = 'UTF-8'
compileJava.options.compilerArgs << '-parameter'
sourceCompatibility = 1.8
targetCompatibility = 1.8
mainClassName = ''
allprojects {
repositories {
mavenCentral()
jcenter()
maven {
url = uri("https://raw.githubusercontent.com/yoyosource/YAPION/master/releases")
sourceSets {
main {
java {
srcDirs = ['src/']
}
resources {
srcDirs = ['src/']
exclude '**/*.java', '**/*.kt'
}
}
}
dependencies {
repositories {
mavenCentral()
}
dependencies {
compileOnly files("${projectDir}/lib/Spigot-1.15.jar")
compileOnly files("${projectDir}/lib/WorldEdit-1.15.jar")
compileOnly files("${projectDir}/lib/SpigotCore.jar")
compileOnly 'org.projectlombok:lombok:1.18.22'
testCompileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
}
task buildProject {