-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
51 lines (40 loc) · 915 Bytes
/
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
apply plugin: 'idea'
apply plugin: 'java-library'
apply plugin: 'maven-publish'
group 'gg.moonflower'
version '3.1.1'
if (System.getenv('BUILD_NUMBER') != null) {
version += "." + System.getenv('BUILD_NUMBER')
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
}
dependencies {
compileOnly 'org.jetbrains:annotations:24.1.0'
implementation 'org.ow2.asm:asm-tree:9.6'
testImplementation 'com.google.guava:guava:33.0.0-jre'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
}
test {
useJUnitPlatform()
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
myJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
url "file://" + System.getenv("local_maven")
}
}
}