-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathbuild.gradle
51 lines (42 loc) · 1.06 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
plugins {
id 'java-library'
id 'maven-publish'
id 'idea'
}
group = 'com.bitso'
version = '4.0.0'
description = "bitso-java"
sourceCompatibility = 8
targetCompatibility = 8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
maven {
url "https://repo.maven.apache.org/maven2/"
}
}
dependencies {
api 'org.apache.httpcomponents:httpclient:4.5.13'
api 'org.json:json:20230227'
api 'io.netty:netty-all:4.1.65.Final'
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4'
testImplementation 'org.mockito:mockito-junit-jupiter:5.14.2'
}
test.useJUnitPlatform()
// To specify a license in the pom:
publishing {
publications {
maven(MavenPublication) {
pom {
licenses {
license {
name = 'The MIT License (MIT)'
url = 'https://github.com/bitsoex/bitso-java/blob/master/LICENSE'
distribution = 'repo'
}
}
}
}
}
}