Skip to content

Commit

Permalink
switch to java-library plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaninja committed Aug 7, 2022
1 parent 6daaf8f commit 9f2a106
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 18 deletions.
6 changes: 3 additions & 3 deletions api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ dependencies {
implementation project(':scale')
implementation project(':transport')

implementation 'com.google.inject:guice:5.1.0'
api 'com.google.inject:guice:5.1.0'

annotationProcessor project(':pallet:pallet-codegen')
annotationProcessor project(':rpc:rpc-codegen')

testImplementation project(':tests')

testImplementation 'ch.qos.logback:logback-classic:1.2.11'
testImplementation 'org.testcontainers:testcontainers:1.17.2'
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
testImplementation 'org.testcontainers:testcontainers:1.17.3'
testImplementation 'org.testcontainers:junit-jupiter:1.17.3'
testImplementation 'org.awaitility:awaitility:4.2.0'
testImplementation 'org.hamcrest:hamcrest:2.2'

Expand Down
9 changes: 3 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

allprojects {
group = 'com.strategyobject.substrateclient'
version = '0.1.4-SNAPSHOT'
version = '0.1.5-SNAPSHOT'

repositories {
mavenLocal()
Expand All @@ -17,7 +17,7 @@ allprojects {
}

subprojects {
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'io.freefair.lombok'
apply plugin: 'io.freefair.javadocs'
apply plugin: 'maven-publish'
Expand All @@ -29,14 +29,11 @@ subprojects {
implementation 'com.google.guava:guava:31.1-jre'
implementation 'org.slf4j:slf4j-api:1.7.36'

testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
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'

testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}

test {
Expand Down
4 changes: 2 additions & 2 deletions pallet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dependencies {

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

testImplementation 'org.testcontainers:testcontainers:1.17.2'
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
testImplementation 'org.testcontainers:testcontainers:1.17.3'
testImplementation 'org.testcontainers:junit-jupiter:1.17.3'
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
testImplementation 'org.awaitility:awaitility:4.2.0'
testImplementation 'org.hamcrest:hamcrest:2.2'
Expand Down
4 changes: 2 additions & 2 deletions rpc/rpc-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ dependencies {
testAnnotationProcessor project(':scale:scale-codegen')

testImplementation 'ch.qos.logback:logback-classic:1.2.11'
testImplementation 'org.testcontainers:testcontainers:1.17.2'
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
testImplementation 'org.testcontainers:testcontainers:1.17.3'
testImplementation 'org.testcontainers:junit-jupiter:1.17.3'
testImplementation 'org.awaitility:awaitility:4.2.0'
testImplementation 'org.hamcrest:hamcrest:2.2'
}
4 changes: 2 additions & 2 deletions tests/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dependencies {
implementation 'org.testcontainers:testcontainers:1.17.2'
implementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
implementation 'org.testcontainers:testcontainers:1.17.3'
implementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
}
6 changes: 3 additions & 3 deletions transport/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ dependencies {

testImplementation project(':tests')
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
testImplementation 'org.testcontainers:testcontainers:1.17.2'
testImplementation 'org.testcontainers:junit-jupiter:1.17.2'
testImplementation 'org.testcontainers:toxiproxy:1.17.2'
testImplementation 'org.testcontainers:testcontainers:1.17.3'
testImplementation 'org.testcontainers:junit-jupiter:1.17.3'
testImplementation 'org.testcontainers:toxiproxy:1.17.3'
testImplementation 'org.awaitility:awaitility:4.2.0'
}

0 comments on commit 9f2a106

Please sign in to comment.