Skip to content

Commit

Permalink
Simplify Creek Dependencies (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
big-andy-coates committed Nov 5, 2022
1 parent a4b8ce2 commit 947df2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
12 changes: 5 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ subprojects {
}

extra.apply {
set("creekBaseVersion", "0.2.0-SNAPSHOT")
set("creekTestVersion", "0.2.0-SNAPSHOT")
set("creekObsVersion", "0.2.0-SNAPSHOT")
set("creekVersion", "0.2.0-SNAPSHOT")
set("spotBugsVersion", "4.6.0") // https://mvnrepository.com/artifact/com.github.spotbugs/spotbugs-annotations

set("log4jVersion", "2.19.0") // https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
Expand All @@ -75,7 +73,7 @@ subprojects {
set("hamcrestVersion", "2.2") // https://mvnrepository.com/artifact/org.hamcrest/hamcrest-core
}

val creekTestVersion : String by extra
val creekVersion : String by extra
val guavaVersion : String by extra
val log4jVersion : String by extra
val junitVersion: String by extra
Expand All @@ -84,9 +82,9 @@ subprojects {
val hamcrestVersion : String by extra

dependencies {
testImplementation("org.creekservice:creek-test-hamcrest:$creekTestVersion")
testImplementation("org.creekservice:creek-test-util:$creekTestVersion")
testImplementation("org.creekservice:creek-test-conformity:$creekTestVersion")
testImplementation("org.creekservice:creek-test-hamcrest:$creekVersion")
testImplementation("org.creekservice:creek-test-util:$creekVersion")
testImplementation("org.creekservice:creek-test-conformity:$creekVersion")
testImplementation("org.junit.jupiter:junit-jupiter-api:$junitVersion")
testImplementation("org.junit.jupiter:junit-jupiter-params:$junitVersion")
testImplementation("org.junit-pioneer:junit-pioneer:$junitPioneerVersion")
Expand Down
7 changes: 3 additions & 4 deletions resource/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ plugins {
`java-library`
}

val creekBaseVersion : String by extra
val creekObsVersion : String by extra
val creekVersion : String by extra

dependencies {
api(project(":metadata"))
implementation("org.creekservice:creek-base-type:$creekBaseVersion")
implementation("org.creekservice:creek-observability-logging:$creekObsVersion")
implementation("org.creekservice:creek-base-type:$creekVersion")
implementation("org.creekservice:creek-observability-logging:$creekVersion")
}

0 comments on commit 947df2c

Please sign in to comment.