-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved Versions to buildSrc using gradle kotlin-dsl base plugin.
- Loading branch information
1 parent
258af3c
commit 63068b2
Showing
50 changed files
with
387 additions
and
589 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
import org.ostelco.prime.gradle.Version | ||
|
||
plugins { | ||
kotlin("jvm") | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
|
||
val dropwizardVersion:String by rootProject.extra | ||
|
||
implementation(project(":prime-modules")) | ||
|
||
testImplementation(project(":jersey")) | ||
testImplementation("io.dropwizard:dropwizard-testing:$dropwizardVersion") | ||
testImplementation("io.dropwizard:dropwizard-testing:${Version.dropwizard}") | ||
} | ||
|
||
apply(from = "../gradle/jacoco.gradle") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
} |
45 changes: 45 additions & 0 deletions
45
buildSrc/src/main/kotlin/org/ostelco/prime/gradle/Version.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package org.ostelco.prime.gradle | ||
|
||
object Version { | ||
const val assertJ = "3.13.2" | ||
const val arrow = "0.8.2" | ||
const val beam = "2.15.0" | ||
const val csv = "1.7" | ||
const val cxf = "3.3.3" | ||
const val dockerComposeJunitRule = "1.3.0" | ||
const val dropwizard = "1.3.14" | ||
const val metrics = "4.1.0" | ||
const val firebase = "6.10.0" | ||
const val googleCloud = "1.90.0" | ||
const val grpc = "1.23.0" | ||
const val guava = "28.1-jre" | ||
const val jackson = "2.9.9" | ||
const val javaxActivation = "1.1.1" | ||
const val javaxActivationApi = "1.2.0" | ||
const val javaxAnnotation = "1.3.2" | ||
// Keeping it version 1.16.1 to be consistent with grpc via PubSub client lib | ||
// Keeping it version 1.16.1 to be consistent with netty via Firebase lib | ||
const val jaxb = "2.3.1" | ||
const val jdbi3 = "3.10.0" | ||
const val jjwt = "0.10.7" | ||
const val junit5 = "5.5.2" | ||
const val kotlin = "1.3.50" | ||
const val kotlinXCoroutines = "1.3.1" | ||
const val mockito = "3.0.0" | ||
const val mockitoKotlin = "2.2.0" | ||
const val neo4jDriver = "1.7.5" | ||
const val neo4j = "3.5.9" | ||
const val opencensus = "0.24.0" | ||
const val postgresql = "42.2.8" // See comment in ./sim-administration/simmanager/build.gradle | ||
const val prometheusDropwizard = "2.2.0" | ||
const val protoc = "3.9.1" | ||
const val slf4j = "1.7.28" | ||
// IMPORTANT: When Stripe SDK library version is updated, check if the Stripe API version has changed. | ||
// If so, then update API version in Stripe Web Console for callback Webhooks. | ||
const val stripe = "12.0.0" | ||
const val swagger = "2.0.9" | ||
const val swaggerCodegen = "2.4.8" | ||
const val testcontainers = "1.12.1" | ||
const val tink = "1.2.2" | ||
const val zxing = "3.4.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
import org.ostelco.prime.gradle.Version | ||
|
||
plugins { | ||
kotlin("jvm") | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
|
||
val dropwizardVersion:String by rootProject.extra | ||
|
||
implementation(project(":prime-modules")) | ||
|
||
testImplementation(project(":jersey")) | ||
testImplementation("io.dropwizard:dropwizard-testing:$dropwizardVersion") | ||
testImplementation("io.dropwizard:dropwizard-testing:${Version.dropwizard}") | ||
} | ||
|
||
apply(from = "../gradle/jacoco.gradle") |
Oops, something went wrong.