mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-02 11:11:21 +01:00
Excluded test dependencies
This commit is contained in:
parent
576ec7c1a5
commit
8ff4a12bd7
@ -116,11 +116,7 @@ subprojects {
|
||||
testCompile "org.xerial:sqlite-jdbc:3.27.2.1" // SQLite
|
||||
testCompile "mysql:mysql-connector-java:8.0.15" // MySQL
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
exclude 'META-INF/versions/'
|
||||
}
|
||||
|
||||
|
||||
configurations {
|
||||
testArtifacts.extendsFrom testRuntime
|
||||
}
|
||||
|
@ -21,7 +21,6 @@ shadowJar {
|
||||
configurations = [project.configurations.compile]
|
||||
|
||||
// Exclude these files
|
||||
exclude "org/json/**/*"
|
||||
exclude "**/*.svg"
|
||||
exclude "**/*.ttf"
|
||||
exclude "**/*.woff"
|
||||
@ -29,14 +28,26 @@ shadowJar {
|
||||
exclude "**/*.woff2"
|
||||
exclude "**/*.psd"
|
||||
|
||||
exclude 'META-INF/versions/' // Causes Sponge to crash
|
||||
|
||||
relocate('org.apache', 'plan.org.apache') {
|
||||
exclude 'org/apache/logging/**'
|
||||
}
|
||||
relocate 'com.maxmind', 'plan.com.maxmind'
|
||||
relocate 'com.fasterxml', 'plan.com.fasterxml'
|
||||
relocate 'com.zaxxer', 'plan.com.zaxxer'
|
||||
relocate 'com.github.benmanes', 'plan.com.github.benmanes'
|
||||
relocate 'com.googlecode', 'plan.com.googlecode'
|
||||
relocate 'org.h2', 'plan.org.h2'
|
||||
relocate 'org.bstats', 'plan.org.bstats'
|
||||
relocate 'org.slf4j', 'plan.org.slf4j'
|
||||
relocate 'com.google.dagger', 'plan.com.google.dagger'
|
||||
|
||||
// Exclude test dependencies
|
||||
exclude "org/junit/**/*"
|
||||
exclude "org/opentest4j/**/*"
|
||||
exclude "org/checkerframework/**/*"
|
||||
exclude "org/apiguardian/**/*"
|
||||
exclude "org/mockito/**/*"
|
||||
exclude "org/selenium/**/*"
|
||||
exclude "org/jayway/**/*"
|
||||
}
|
Loading…
Reference in New Issue
Block a user