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