-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
57 lines (46 loc) · 1.01 KB
/
build.gradle
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
57
plugins {
id 'java'
id 'java-gradle-plugin'
id 'maven-publish'
}
group 'com.panguengine'
version '1.2'
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
implementation 'commons-io:commons-io:2.11.0'
implementation 'com.google.code.gson:gson:2.9.0'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
jar {
from rootProject.file('LICENSE')
}
java {
withSourcesJar()
}
compileJava {
options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'
}
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
}
}
gradlePlugin {
plugins {
panguengine {
id = 'pangu-gradle'
implementationClass = 'engine.mod.gradle.EngineGradlePlugin'
}
}
}