fyrecc/Bunkers/build.gradle

62 lines
1.2 KiB
Groovy
Raw Normal View History

2022-09-06 22:29:25 +02:00
plugins {
id "org.jetbrains.kotlin.jvm" version "1.5.0"
id "com.github.johnrengelman.shadow" version "5.2.0"
}
group = 'cc.fyre.carnage'
version = '1.0-SNAPSHOT'
description = 'carnage'
targetCompatibility = '1.8'
sourceCompatibility = '1.8'
shadowJar {
classifier = null
minimize()
}
repositories {
mavenLocal()
mavenCentral()
flatDir {
dirs 'libs'
}
}
dependencies {
compile "com.google.code.gson:gson:2.8.5"
compileOnly "net.frozenorb:qLib:LATEST"
compileOnly 'cc.fyre.engine:game:1.0-SNAPSHOT'
compileOnly 'com.comphenix.protocol:ProtocolLib:4.4.0'
compileOnly 'net.hylist:spigot-server:1.7.10-R0.1-SNAPSHOT'
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0'
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
}
apply plugin: "kotlin"
apply plugin: 'maven-publish'
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin/'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
publishing {
publications {
shadow(MavenPublication) { publication ->
project.shadow.component(publication)
}
}
}