forked from CodeCLS/lemon-markets-java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (49 loc) · 1.4 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-library'
id 'application'
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id 'maven-publish'
id 'ivy-publish'
//id 'java'
}
mainClassName = 'TradingApplication'
group 'io.github.codec'
version '1.0.0.5'
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.retrofit2:converter-gson:2.2.0'
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
implementation 'org.json:json:20171018'
implementation 'io.ably:ably-java:1.2.11'
}
test {
useJUnitPlatform()
}
nexusPublishing {
repositories {
sonatype { //only for users registered in Sonatype after 24 Feb 2021
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}
publishing {
publications {
myLibrary(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = 'Repo'
url = layout.buildDirectory.dir("repo")
}
}
}