aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authormdxd44 <ogurec332@mail.ru>2021-12-27 18:27:05 +0900
committermdxd44 <ogurec332@mail.ru>2021-12-27 18:28:55 +0900
commitfce457435c848b5262818383a98e6dbb8538e021 (patch)
treef15543d88cbc5cb1a4797d503272a54886ef51d9 /build.gradle
parentcc2ccfbe22044e98a66257488cf5bd26e21ca340 (diff)
downloadLimboAuth-fce457435c848b5262818383a98e6dbb8538e021.tar.gz
LimboAuth-fce457435c848b5262818383a98e6dbb8538e021.tar.bz2
LimboAuth-fce457435c848b5262818383a98e6dbb8538e021.zip
Add bStats and force changepassword command.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle12
1 files changed, 9 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index ac00097..2fd5eec 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,10 +44,12 @@ dependencies {
implementation("com.j256.ormlite:ormlite-jdbc:5.7")
- implementation("com.h2database:h2:2.0.202")
+ implementation("com.h2database:h2:1.4.200")
implementation("mysql:mysql-connector-java:8.0.27")
implementation("org.postgresql:postgresql:42.3.1")
+ implementation("org.bstats:bstats-velocity:2.2.1")
+
compileOnly("com.github.spotbugs:spotbugs-annotations:4.5.2")
}
@@ -67,6 +69,10 @@ shadowJar {
minimize()
+ // Why are we increasing the size of the plugin if we can do that? :thinking:
+ relocate("org.bstats", "net.elytrium.limboapi.bstats")
+ exclude("org/bstats/**")
+
relocate("at.favre.lib", "net.elytrium.limboauth.thirdparty.at.favre.lib")
relocate("com.j256.ormlite", "net.elytrium.limboauth.thirdparty.com.j256.ormlite")
relocate("com.mysql", "net.elytrium.limboauth.thirdparty.com.mysql")
@@ -106,8 +112,8 @@ sourceSets.main.getJava().srcDir(getTasks().register("generateTemplates", Copy)
task.getInputs().properties("version": getVersion())
task.from(file("src/main/templates"))
- .into(getLayout().getBuildDirectory().dir("generated/sources/templates"))
- .expand("version": getVersion())
+ .into(getLayout().getBuildDirectory().dir("generated/sources/templates"))
+ .expand("version": getVersion())
}.map {
it.getOutputs()
})