forked from Devan-Kerman/AutoAbstractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
78 lines (68 loc) · 1.97 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
plugins {
id 'java'
id 'java-library'
id "com.jfrog.bintray" version "1.8.4"
id 'maven-publish'
}
group 'io.github.astrarre'
version '1.1.13'
sourceCompatibility = 1.8
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {url 'https://dl.bintray.com/astrarre/maven'}
mavenCentral()
maven {
url = 'http://maven.modmuss50.me/'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
// documentation
api('org.jetbrains:annotations:19.0.0')
// gib typetoken
api('com.google.guava:guava:29.0-jre')
api('org.apache.commons:commons-lang3:3.11')
// asm
api('org.ow2.asm:asm:9.0')
api('org.ow2.asm:asm-commons:9.0')
// decompiler
api('net.fabricmc:fabric-fernflower:1.3.0')
api('net.fabricmc:tiny-mappings-parser:0.2.2.14')
api('io.github.astrarre:mappingpoet:0.0.10')
api('org.zeroturnaround:zt-zip:1.14')
testCompile files("run/fodder.jar")
testCompileOnly files("run/api.jar")
testCompileOnly files("run/api_sources.jar")
testCompileOnly fileTree(include: ['*.jar'], dir: "run/classpath")
testRuntime files("run/impl.jar")
testCompile "net.fabricmc:tiny-remapper:0.3.2"
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId group
artifactId "abstracter"
version version
from components.java
}
}
}
bintray {
user = project.hasProperty('bintray_user') ? project.property('bintray_user') : ""
key = project.hasProperty('bintray_api_key') ? project.property('bintray_api_key') : ""
publications = ["mavenJava"]
publish = true //[Default: false] Whether version should be auto published after an upload
pkg {
repo = "maven"
name = "abstracter"
userOrg = "astrarre"
licenses = ["LGPL-3.0"]
version {
name = version
released = new Date()
}
}
}