mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Combined some dependency versions as variables
This commit is contained in:
parent
b34a8e8c02
commit
9ff08c2267
@ -61,7 +61,6 @@ subprojects {
|
||||
|
||||
ext {
|
||||
daggerVersion = "2.41"
|
||||
daggerCompilerVersion = "2.41"
|
||||
|
||||
palVersion = "5.0.0"
|
||||
|
||||
@ -83,10 +82,14 @@ subprojects {
|
||||
slf4jVersion = "1.7.36"
|
||||
geoIpVersion = "2.16.1"
|
||||
gsonVersion = "2.9.0"
|
||||
dependencyDownloadVersion = "1.2.1"
|
||||
|
||||
bstatsVersion = "2.2.1"
|
||||
placeholderapiVersion = "2.11.1"
|
||||
nkPlaceholderapiVersion = "1.4-SNAPSHOT"
|
||||
|
||||
junitVersion = "5.8.2"
|
||||
mockitoVersion = "4.3.1"
|
||||
testContainersVersion = "1.16.3"
|
||||
}
|
||||
|
||||
@ -105,15 +108,15 @@ subprojects {
|
||||
dependencies {
|
||||
// Dependency Injection used across the project
|
||||
implementation "com.google.dagger:dagger:$daggerVersion"
|
||||
annotationProcessor "com.google.dagger:dagger-compiler:$daggerCompilerVersion"
|
||||
testAnnotationProcessor "com.google.dagger:dagger-compiler:$daggerCompilerVersion"
|
||||
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
|
||||
testAnnotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
|
||||
|
||||
// Test Tooling Dependencies
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2' // JUnit 5
|
||||
testImplementation "org.mockito:mockito-core:4.3.1" // Mockito Core
|
||||
testImplementation "org.mockito:mockito-junit-jupiter:4.3.1" // Mockito JUnit 5 Extension
|
||||
testImplementation "org.seleniumhq.selenium:selenium-java:4.1.2" // Selenium (Browser tests)
|
||||
testImplementation "com.jayway.awaitility:awaitility:1.7.0" // Awaitility (Concurrent wait conditions)
|
||||
testImplementation "org.junit.jupiter:junit-jupiter:$junitVersion" // JUnit 5
|
||||
testImplementation "org.mockito:mockito-core:$mockitoVersion" // Mockito Core
|
||||
testImplementation "org.mockito:mockito-junit-jupiter:$mockitoVersion" // Mockito JUnit 5 Extension
|
||||
testImplementation "org.seleniumhq.selenium:selenium-java:4.1.2" // Selenium (Browser tests)
|
||||
testImplementation "com.jayway.awaitility:awaitility:1.7.0" // Awaitility (Concurrent wait conditions)
|
||||
|
||||
// Testing dependencies required by Plan
|
||||
testImplementation "org.xerial:sqlite-jdbc:$sqliteVersion" // SQLite
|
||||
|
@ -1,7 +1,7 @@
|
||||
import dev.vankka.dependencydownload.task.GenerateDependencyDownloadResourceTask
|
||||
|
||||
plugins {
|
||||
id "dev.vankka.dependencydownload.plugin" version "1.2.1"
|
||||
id "dev.vankka.dependencydownload.plugin" version "$dependencyDownloadVersion"
|
||||
}
|
||||
|
||||
configurations {
|
||||
@ -41,7 +41,7 @@ dependencies {
|
||||
implementation "com.maxmind.geoip2:geoip2:$geoIpVersion"
|
||||
implementation "com.google.code.gson:gson:$gsonVersion"
|
||||
|
||||
implementation("dev.vankka:dependencydownload-runtime:1.2.1") {
|
||||
implementation("dev.vankka:dependencydownload-runtime:$dependencyDownloadVersion") {
|
||||
// Effectively disables relocating
|
||||
exclude module: "jar-relocator"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user