blob: d0eb81be925cca8ae24da4a57af18110d702c00a [file] [log] [blame] [raw]
// Apply the java plugin to add support for Java
apply plugin: 'java'
sourceCompatibility = 1.8
version = '1.0'
jar {
manifest.attributes 'Implementation-Title': 'net.querz.nbt',
'Implementation-Version': version
}
// In this section you declare the options for your javadoc
javadoc {
source = sourceSets.main.allJava
classpath = configurations.compile
destinationDir = file("./doc/")
options.windowTitle 'NBT'
options.encoding 'utf-8'
options.linkSource true
options.links 'https://docs.oracle.com/javase/8/docs/api/'
}
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
// In this section you declare the dependencies for your production and test code
dependencies {
testCompile 'junit:junit:4.12'
}