forked from kunickiaj/vault-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (50 loc) · 1.14 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
plugins {
id 'java'
id('org.jetbrains.kotlin.jvm') version '1.4.32'
id 'maven-publish'
}
group 'com.adamkunicki'
version '0.2.0'
sourceCompatibility = 1.7
ext {
nexusUsername = ''
nexusPassword = ''
nexusProxyRepository = ''
nexusReleaseRepository = ''
}
apply from: 'build.gradle.local'
repositories {
maven { url nexusProxyRepository }
}
java {
withSourcesJar()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'com.adamkunicki'
artifactId = 'vault-kotlin'
version = '0.2.0'
from components.java
}
}
repositories {
maven {
url nexusReleaseRepository
credentials {
username nexusUsername
password nexusPassword
}
}
}
}
dependencies {
compile 'com.github.kittinunf.fuel:fuel:2.3.1'
compile 'com.github.salomonbrys.kotson:kotson:2.3.0'
compile 'org.slf4j:slf4j-api:1.7.19'
compile 'org.slf4j:slf4j-log4j12:1.7.19'
compile 'org.apache.logging.log4j:log4j:2.5'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'org.mock-server:mockserver-netty:3.10.4'
// testCompile "com.nhaarman:mockito-kotlin:x.x.x"
}