-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
70 lines (63 loc) · 2.2 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
plugins {
id 'java'
id 'maven-publish'
}
group 'com.sparrowwallet.nightjar'
version '0.2.40'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
def secrets = new Properties()
file("publish.properties").withInputStream {
stream -> secrets.load(stream)
}
dependencies {
implementation ('org.bouncycastle:bcprov-jdk18on:1.77') {
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
implementation ('com.google.protobuf:protobuf-java:2.6.1')
implementation ('com.google.guava:guava:33.0.0-jre')
implementation ('com.lambdaworks:scrypt:1.4.0')
implementation ('org.springframework:spring-websocket:5.2.2.RELEASE')
implementation ('org.springframework:spring-messaging:5.2.2.RELEASE')
implementation ('org.eclipse.jetty.websocket:websocket-client:9.4.19.v20190610')
implementation ('net.sourceforge.streamsupport:streamsupport:1.7.0')
implementation ('org.apache.commons:commons-text:1.2')
implementation ('commons-codec:commons-codec:1.12')
implementation ('com.squareup.okhttp:okhttp:2.7.5')
implementation ('net.jcip:jcip-annotations:1.0')
implementation ('com.fasterxml.jackson.core:jackson-databind:2.13.2')
implementation ('org.json:json:20180130')
implementation ('io.reactivex.rxjava2:rxjava:2.2.15')
implementation ('org.slf4j:slf4j-api:2.0.12')
implementation ('com.auth0:java-jwt:3.8.1')
implementation('org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.20')
implementation ('ch.qos.logback:logback-classic:1.4.14') {
exclude group: 'org.hamcrest', module: 'hamcrest-core'
exclude group: 'org.slf4j'
}
implementation ('org.hibernate:hibernate-validator:6.0.17.Final')
}
task sourceJar(type: Jar) {
classifier 'sources'
from sourceSets.main.allJava
}
publishing {
repositories {
maven {
credentials {
username secrets.username
password secrets.password
}
url 'https://mymavenrepo.com/repo/Ym4HjVje06VlvgK5VxFd/'
}
}
publications {
maven(MavenPublication) {
artifactId = 'nightjar'
from components.java
artifact tasks.sourceJar
}
}
}