Done buildScripts of mail and security

This commit is contained in:
MC~蛟龙 2024-07-11 19:48:22 +08:00
parent 4c80eb6c4c
commit 7e499348cf
3 changed files with 13 additions and 13 deletions

View File

@ -55,8 +55,6 @@ subprojects {
}
// HikariCP Logger
implementation("org.slf4j:slf4j-simple:1.7.36") // We can't update to 2.x as long as we use HikariCP for java 8
// PBKDF2 implementation
implementation("de.rtner:PBKDF2:1.1.4")
// MySQL connector, shaded into the legacy jar
implementation("com.mysql:mysql-connector-j:8.4.0")
implementation("org.mariadb.jdbc:mariadb-java-client:3.3.3")
@ -86,8 +84,6 @@ subprojects {
compileOnly("com.onarandombox.multiversecore:Multiverse-Core:4.3.1")
// EssentialsX plugin
compileOnly("net.essentialsx:EssentialsX:2.20.1")
// BCrypt implementation
implementation("at.favre.lib:bcrypt:0.10.2")
// XAuth, another authentication plugin, required by the database converter
compileOnly("de.luricos.bukkit:xAuth:2.6.1-SNAPSHOT")
implementation("ch.jalu:datasourcecolumns:0.1.1-SNAPSHOT")
@ -136,7 +132,6 @@ subprojects {
relocate("org.slf4j", "${project.group}.libs.org.slf4j")
relocate("com.maxmind.db", "${project.group}.libs.com.maxmind.db")
relocate("com.ice.tar", "${project.group}.libs.com.icetar.tar")
relocate("de.rtner", "${project.group}.libs.de.rtner")
relocate("org.picketbox", "${project.group}.libs.org.picketbox")
relocate("org.jboss.crypto", "${project.group}.libs.org.jboss.crypto")
relocate("org.jboss.security", "${project.group}.libs.org.jboss.security")

View File

@ -1,9 +1,7 @@
dependencies {
compileOnly(project(":project:module-common"))
compileOnly(project(":project:module-util"))
compileOnly(project(":project:module-logger"))
compileOnly(project(":project:module-configuration"))
compileOnly(project(":project:module-message"))
compileOnly(project(":project:module-util"))
compileOnly(libs.configme)
compileOnly(libs.jalu.injector)
// Java Email Library

View File

@ -1,7 +1,14 @@
dependencies {
compileOnly(project(":project:module-common"))
compileOnly(project(":project:module-util"))
compileOnly(project(":project:module-logger"))
compileOnly(project(":project:module-configuration"))
compileOnly(project(":project:module-message"))
compileOnly(project(":project:module-util"))
compileOnly(libs.guava)
compileOnly(libs.jalu.injector)
// PBKDF2 implementation
implementation("de.rtner:PBKDF2:1.1.4")
// BCrypt implementation
implementation("at.favre.lib:bcrypt:0.10.2")
}
tasks.shadowJar {
relocate("de.rtner", "${project.group}.libs.de.rtner")
relocate("at.favre.lib", "${project.group}.libs.at.favre.lib")
}