-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (40 loc) · 901 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
plugins {
id 'java'
id 'maven-publish'
}
group 'me.anfanik'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
compile 'com.typesafe:config:1.4.2'
compile 'org.apache.httpcomponents:httpclient:4.5.13'
}
jar {
manifest {
attributes "Main-Class": "me.anfanik.asuko.Asuko"
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
publishing {
repositories {
maven {
url 'https://repository.anfanik.me/public'
credentials {
username System.getenv('A5K_USERNAME')
password System.getenv('A5K_PASSWORD')
}
}
}
publications {
maven(MavenPublication) {
groupId project.group
artifactId project.name
version project.version
artifact jar
}
}
}