41 lines
1.1 KiB
Groovy
41 lines
1.1 KiB
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/' }
|
|
mavenLocal() // This is needed for CraftBukkit and Spigot.
|
|
|
|
// libs folder (TODO: transfer away from this!)
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.spigotmc:spigot:1.17-R0.1-SNAPSHOT:remapped-mojang'
|
|
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.17")
|
|
specialSourceVersion.set("1.10.0")
|
|
}
|
|
} |