39 lines
956 B
Groovy
39 lines
956 B
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'xyz.jpenilla.special-gradle' version '1.0.0-SNAPSHOT'
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_16
|
|
targetCompatibility = JavaVersion.VERSION_16
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
|
|
|
|
// libs folder (TODO: transfer away from this!)
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation name: 'Factions'
|
|
implementation name: 'GriefPrevention'
|
|
implementation name: 'MassiveCore'
|
|
implementation name: 'PreciousStones'
|
|
implementation name: 'RedProtect'
|
|
implementation name: 'Residence'
|
|
implementation name: 'Towny'
|
|
implementation name: 'WorldEdit'
|
|
implementation name: 'WorldGuard'
|
|
}
|
|
|
|
tasks {
|
|
specialGradle {
|
|
minecraftVersion.set("1.18")
|
|
specialSourceVersion.set("1.10.0")
|
|
}
|
|
} |