Changed mysql and sqlite to use implementation instead of shadow

this is to exclude things like google/protobuf folder properly
The sql drivers are still included
This commit is contained in:
Risto Lahtela 2021-10-30 10:07:06 +03:00
parent 09d1fc7d41
commit fb998fdc90
3 changed files with 2 additions and 8 deletions

View File

@ -6,8 +6,8 @@ dependencies {
implementation "org.apache.commons:commons-text:$commonsTextVersion" implementation "org.apache.commons:commons-text:$commonsTextVersion"
implementation "org.apache.commons:commons-compress:$commonsCompressVersion" implementation "org.apache.commons:commons-compress:$commonsCompressVersion"
implementation "com.github.ben-manes.caffeine:caffeine:$caffeineVersion" implementation "com.github.ben-manes.caffeine:caffeine:$caffeineVersion"
shadow "mysql:mysql-connector-java:$mysqlVersion" implementation "mysql:mysql-connector-java:$mysqlVersion"
shadow "org.xerial:sqlite-jdbc:$sqliteVersion" implementation "org.xerial:sqlite-jdbc:$sqliteVersion"
implementation "com.zaxxer:HikariCP:$hikariVersion" implementation "com.zaxxer:HikariCP:$hikariVersion"
implementation "org.slf4j:slf4j-nop:$slf4jVersion" implementation "org.slf4j:slf4j-nop:$slf4jVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion" implementation "org.slf4j:slf4j-api:$slf4jVersion"

View File

@ -29,9 +29,6 @@ dependencies {
} }
testImplementation project(path: ":common", configuration: 'testArtifacts') testImplementation project(path: ":common", configuration: 'testArtifacts')
shadow "mysql:mysql-connector-java:$mysqlVersion"
shadow "org.xerial:sqlite-jdbc:$sqliteVersion"
} }
compileJava { compileJava {

View File

@ -11,9 +11,6 @@ dependencies {
testImplementation project(path: ":sponge", configuration: 'testArtifacts') testImplementation project(path: ":sponge", configuration: 'testArtifacts')
testImplementation project(path: ":bungeecord", configuration: 'testArtifacts') testImplementation project(path: ":bungeecord", configuration: 'testArtifacts')
testImplementation project(path: ":velocity", configuration: 'testArtifacts') testImplementation project(path: ":velocity", configuration: 'testArtifacts')
shadow "mysql:mysql-connector-java:$mysqlVersion"
shadow "org.xerial:sqlite-jdbc:$sqliteVersion"
} }
//slimJar { //slimJar {