2017-11-19 03:49:49 +00:00
|
|
|
group 'com.btk5h.skript-db'
|
2018-01-24 02:02:06 +00:00
|
|
|
version '0.1.1'
|
2017-11-19 03:49:49 +00:00
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
url 'https://oss.sonatype.org/content/groups/public/'
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
url 'http://maven.njol.ch/repo/'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
shadow 'org.spigotmc:spigot-api:1.11-R0.1-SNAPSHOT'
|
|
|
|
shadow 'ch.njol:skript:2.2-SNAPSHOT'
|
|
|
|
compile 'com.zaxxer:HikariCP:2.6.2'
|
|
|
|
}
|
2017-11-22 00:58:47 +00:00
|
|
|
|
|
|
|
task buildReadme(type: Javadoc) {
|
|
|
|
source = sourceSets.main.allJava
|
|
|
|
classpath = sourceSets.main.compileClasspath
|
|
|
|
destinationDir = projectDir
|
|
|
|
options.docletpath = [file('tools/skriptdoclet.jar')]
|
|
|
|
options.doclet = 'com.btk5h.skriptdoclet.SkriptDoclet'
|
|
|
|
options.addStringOption('file', 'README.md')
|
|
|
|
options.addStringOption('markdown', '-quiet')
|
|
|
|
}
|