-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (50 loc) · 1.3 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
import org.apache.tools.ant.util.ReaderInputStream
import sun.nio.cs.StreamDecoder
import java.lang.reflect.Field
import java.nio.CharBuffer
plugins {
id 'java'
id 'java-library'
id "com.jfrog.bintray" version "1.8.4"
id 'maven-publish'
}
group 'io.github.astrarre'
version '1.0.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
// gronk
implementation gradleApi()
api('com.github.javaparser:javaparser-core:3.17.0')
// asm
api('org.ow2.asm:asm:9.0')
api('org.ow2.asm:asm-commons:9.0')
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId group
artifactId "astrarre-stripper"
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 = "astrarre-stripper"
userOrg = "astrarre"
licenses = ["LGPL-3.0"]
version {
name = version
released = new Date()
}
}
}