forked from bochkov/cordelia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (54 loc) · 1.69 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
plugins {
id 'java'
id 'idea'
id 'maven-publish'
id 'com.github.ben-manes.versions' version '0.47.0'
}
group = 'cordelia'
version = '5.4.0.RELEASE' // semver from transmission server
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withSourcesJar()
}
repositories {
mavenCentral()
maven {
url "https://maven.sergeybochkov.com"
}
}
dependencies {
implementation platform('com.konghq:unirest-java-bom:4.0.3')
implementation 'com.konghq:unirest-java-core'
implementation 'com.konghq:unirest-objectmapper-jackson'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.2'
compileOnly 'ch.qos.logback:logback-classic:1.4.8'
testImplementation 'ch.qos.logback:logback-classic:1.4.8'
compileOnly 'org.projectlombok:lombok:1.18.28'
annotationProcessor 'org.projectlombok:lombok:1.18.28'
testCompileOnly 'org.projectlombok:lombok:1.18.28'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.28'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}
publishing {
repositories {
maven {
url = "https://maven.sergeybochkov.com/releases"
credentials {
username = "$reposilite_user"
password = "$reposilite_password"
}
}
}
publications {
maven(MavenPublication) {
from components.java
}
}
}