This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
forked from strategyobject/substrate-client-java
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
65 lines (55 loc) · 1.64 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
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.5.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()
}
java {
withSourcesJar()
}
publishing {
publications {
gpr(MavenPublication) {
from(components.java)
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/LibertyDSNP/substrate-client-java"
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
}
}
}
}
}