39 lines
925 B
Groovy
39 lines
925 B
Groovy
|
apply plugin: 'java'
|
||
|
|
||
|
group = pluginGroup
|
||
|
version = 1.1
|
||
|
|
||
|
sourceCompatibility = 1.8
|
||
|
targetCompatibility = 1.8
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
maven {
|
||
|
name = 'spigotmc-repo'
|
||
|
url = 'https://hub.spigotmc.org/nexus/content/groups/public/'
|
||
|
}
|
||
|
maven {
|
||
|
name = 'sonatype'
|
||
|
url = 'https://oss.sonatype.org/content/groups/public/'
|
||
|
}
|
||
|
maven {
|
||
|
name = 'nexus-hc'
|
||
|
url = 'http://nexus.hc.to/content/repositories/pub_releases'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||
|
compile 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT'
|
||
|
compile 'net.milkbowl.vault:VaultAPI:1.6'
|
||
|
compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.23.1'
|
||
|
}
|
||
|
|
||
|
import org.apache.tools.ant.filters.ReplaceTokens
|
||
|
|
||
|
processResources {
|
||
|
from(sourceSets.main.resources.srcDirs) {
|
||
|
filter ReplaceTokens, tokens: [version: version]
|
||
|
}
|
||
|
}
|