-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
61 lines (52 loc) · 1.6 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
plugins {
id 'io.freefair.lombok' version '6.5.0.2' apply false
id "io.freefair.javadocs" version "6.5.0.2" apply false
id "io.freefair.aggregate-javadoc" version "6.5.0.2"
id 'maven-publish'
}
allprojects {
group = 'com.strategyobject.substrateclient'
version = '0.2.4-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'io.freefair.lombok'
apply plugin: 'io.freefair.javadocs'
apply plugin: 'maven-publish'
targetCompatibility = '1.8'
sourceCompatibility = '1.8'
dependencies {
implementation 'com.google.guava:guava:31.1-jre'
implementation 'org.slf4j:slf4j-api:1.7.36'
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0'
testImplementation 'org.assertj:assertj-core:3.23.1'
testImplementation 'org.mockito:mockito-core:4.6.1'
testImplementation 'org.mockito:mockito-inline:4.6.1'
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
}
test {
useJUnitPlatform()
}
publishing {
publications {
gpr(MavenPublication) {
from(components.java)
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/strategyobject/substrate-client-java"
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
}
}
}
}
}