Skip to content

Commit 9f2a106

Browse files
committed
switch to java-library plugin
1 parent 6daaf8f commit 9f2a106

6 files changed

Lines changed: 15 additions & 18 deletions

File tree

api/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ dependencies {
77
implementation project(':scale')
88
implementation project(':transport')
99

10-
implementation 'com.google.inject:guice:5.1.0'
10+
api 'com.google.inject:guice:5.1.0'
1111

1212
annotationProcessor project(':pallet:pallet-codegen')
1313
annotationProcessor project(':rpc:rpc-codegen')
1414

1515
testImplementation project(':tests')
1616

1717
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
18-
testImplementation 'org.testcontainers:testcontainers:1.17.2'
19-
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
18+
testImplementation 'org.testcontainers:testcontainers:1.17.3'
19+
testImplementation 'org.testcontainers:junit-jupiter:1.17.3'
2020
testImplementation 'org.awaitility:awaitility:4.2.0'
2121
testImplementation 'org.hamcrest:hamcrest:2.2'
2222

build.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
allprojects {
99
group = 'com.strategyobject.substrateclient'
10-
version = '0.1.4-SNAPSHOT'
10+
version = '0.1.5-SNAPSHOT'
1111

1212
repositories {
1313
mavenLocal()
@@ -17,7 +17,7 @@ allprojects {
1717
}
1818

1919
subprojects {
20-
apply plugin: 'java'
20+
apply plugin: 'java-library'
2121
apply plugin: 'io.freefair.lombok'
2222
apply plugin: 'io.freefair.javadocs'
2323
apply plugin: 'maven-publish'
@@ -29,14 +29,11 @@ subprojects {
2929
implementation 'com.google.guava:guava:31.1-jre'
3030
implementation 'org.slf4j:slf4j-api:1.7.36'
3131

32-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
33-
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
32+
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0'
3433
testImplementation 'org.assertj:assertj-core:3.23.1'
3534
testImplementation 'org.mockito:mockito-core:4.6.1'
3635
testImplementation 'org.mockito:mockito-inline:4.6.1'
3736
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
38-
39-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
4037
}
4138

4239
test {

pallet/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ dependencies {
1010

1111
testAnnotationProcessor project(':rpc:rpc-codegen')
1212

13-
testImplementation 'org.testcontainers:testcontainers:1.17.2'
14-
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
13+
testImplementation 'org.testcontainers:testcontainers:1.17.3'
14+
testImplementation 'org.testcontainers:junit-jupiter:1.17.3'
1515
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
1616
testImplementation 'org.awaitility:awaitility:4.2.0'
1717
testImplementation 'org.hamcrest:hamcrest:2.2'

rpc/rpc-api/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ dependencies {
1313
testAnnotationProcessor project(':scale:scale-codegen')
1414

1515
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
16-
testImplementation 'org.testcontainers:testcontainers:1.17.2'
17-
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
16+
testImplementation 'org.testcontainers:testcontainers:1.17.3'
17+
testImplementation 'org.testcontainers:junit-jupiter:1.17.3'
1818
testImplementation 'org.awaitility:awaitility:4.2.0'
1919
testImplementation 'org.hamcrest:hamcrest:2.2'
2020
}

tests/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dependencies {
2-
implementation 'org.testcontainers:testcontainers:1.17.2'
3-
implementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
2+
implementation 'org.testcontainers:testcontainers:1.17.3'
3+
implementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
44
}

transport/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies {
66

77
testImplementation project(':tests')
88
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
9-
testImplementation 'org.testcontainers:testcontainers:1.17.2'
10-
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
11-
testImplementation 'org.testcontainers:toxiproxy:1.17.2'
9+
testImplementation 'org.testcontainers:testcontainers:1.17.3'
10+
testImplementation 'org.testcontainers:junit-jupiter:1.17.3'
11+
testImplementation 'org.testcontainers:toxiproxy:1.17.3'
1212
testImplementation 'org.awaitility:awaitility:4.2.0'
1313
}

0 commit comments

Comments
 (0)