-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle.kts
56 lines (44 loc) · 928 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import org.gradle.kotlin.dsl.`maven-publish`
/*
* Enklume
* Java library for parsing Minecraft save files
*/
plugins {
java
`java-library`
`maven-publish`
}
val javadoc: Javadoc by tasks
javadoc.apply {
isFailOnError = false
source = sourceSets.main.get().allJava
}
version = "1.1.0"
group = "xyz.chunkstories"
description = "Java library for parsing Minecraft save files"
repositories {
mavenLocal()
mavenCentral()
maven("https://jitpack.io")
}
buildscript {
repositories {
mavenCentral()
}
}
val compileJava : JavaCompile by tasks
compileJava.apply {
// options.compilerArgs.add("-Xlint:none")
options.encoding = "utf-8"
}
compileJava.options.debugOptions.debugLevel = "source,lines,vars"
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
dependencies {
implementation("com.googlecode.json-simple", name = "json-simple", version = "1.1.1")
}