forked from md-5/SpecialSource
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (51 loc) · 1.18 KB
/
build.gradle
File metadata and controls
59 lines (51 loc) · 1.18 KB
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
plugins {
id "java"
id "java-library"
id "maven-publish"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
api "org.projectlombok:lombok:1.18.20"
annotationProcessor "org.projectlombok:lombok:1.18.20"
api "org.ow2.asm:asm-commons:9.1"
api "net.sf.jopt-simple:jopt-simple:4.9"
api "com.google.guava:guava:20.0"
api "com.opencsv:opencsv:4.4"
api "org.apache.logging.log4j:log4j-api:2.8.1"
}
group = theGroup
version = theVersion
sourceCompatibility = "1.8"
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
task install(dependsOn: [publishToMavenLocal])
java {
withSourcesJar()
}
jar {
manifest {
attributes(
"Main-Class" : "net.md_5.specialsource.SpecialSource"
)
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
credentials {
username System.getProperty("MAVEN_USER")?:'ci'
password System.getProperty("MAVEN_PASSWORD")?:'password'
}
url "https://repo.conduit.systems/repository/releases/"
}
}
}