Skip to content

Commit b6f69ac

Browse files
committed
Improve gradle build
1 parent 4ff307b commit b6f69ac

File tree

1 file changed

+1
-91
lines changed

1 file changed

+1
-91
lines changed

build.gradle.kts

Lines changed: 1 addition & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,18 @@
11
plugins {
22
id("java")
3-
`java-library`
4-
// Shadow
5-
// alias(libs.plugins.shadow)
6-
7-
// Bukkit
8-
// alias(libs.plugins.pluginYmlBukkit)
9-
// alias(libs.plugins.runPaper)
10-
11-
// LIQUIBASE
12-
// alias(libs.plugins.liquibase)
13-
// SonarQube
14-
// id("org.sonarqube") version "3.4.0.2513"
153
}
164

175
group = "net.onelitefeather"
18-
version = "1.0.0-SNAPSHOT"
6+
version = "0.0.1-SNAPSHOT"
197

208
repositories {
219
mavenCentral()
2210
maven("https://papermc.io/repo/repository/maven-public/")
23-
maven("https://maven.enginehub.org/repo/")
24-
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
25-
maven("https://oss.sonatype.org/content/groups/public/")
26-
maven("https://libraries.minecraft.net")
27-
maven("https://repo.cloudnetservice.eu/repository/releases/")
28-
maven("https://repo.dmulloy2.net/repository/public/")
29-
maven("https://jitpack.io")
3011
}
3112

3213
dependencies {
3314
// Paper
3415
compileOnly(libs.paper)
35-
// Sentry
36-
implementation(libs.bundles.sentry)
37-
// CloudNet
38-
compileOnly(libs.bundles.cloudnet)
39-
// Commands
40-
implementation(libs.bundles.cloud)
41-
42-
// ChatComponents
43-
compileOnly(libs.bundles.adventure)
44-
45-
46-
// Database
47-
compileOnly(libs.bundles.hibernate)
48-
compileOnly(libs.bundles.liquibase)
49-
50-
// liquibaseRuntime("org.liquibase.ext:liquibase-hibernate5:4.9.1") // Changelog based db
51-
// liquibaseRuntime("org.mariadb.jdbc:mariadb-java-client:3.0.4") // Changelog based db
52-
53-
// Liquibase
54-
// liquibaseRuntime("org.liquibase:liquibase-core:3.10.3")
55-
// liquibaseRuntime("org.liquibase:liquibase-groovy-dsl:2.0.1")
56-
// liquibaseRuntime("ch.qos.logback:logback-core:1.2.3")
57-
// liquibaseRuntime("ch.qos.logback:logback-classic:1.2.3")
58-
59-
// Testing
60-
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
61-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
6216
}
6317
java {
6418
sourceCompatibility = JavaVersion.VERSION_17
@@ -70,49 +24,5 @@ tasks {
7024
options.release.set(17)
7125
options.encoding = "UTF-8"
7226
}
73-
test {
74-
useJUnitPlatform()
75-
}
76-
/*runServer {
77-
minecraftVersion("1.18.2")
78-
}*/
79-
/*shadowJar {
80-
archiveFileName.set("${rootProject.name}.${archiveExtension.getOrElse("jar")}")
81-
}*/
8227
}
8328

84-
/*bukkit {
85-
main = "${rootProject.group}.ElytraRace"
86-
apiVersion = "1.18"
87-
name = ""
88-
load = net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder.STARTUP
89-
90-
authors = listOf("TheMeinerLP", "OneLiteFeather")
91-
92-
depend = listOf("helper")
93-
softDepend = listOf("CloudNet-Bridge")
94-
}*/
95-
96-
/*liquibase {
97-
activities {
98-
create("diffMain") {
99-
(this.arguments as MutableMap<String, String>).apply {
100-
this["changeLogFile"] = "src/main/resources/db/changelog/db.changelog-diff.xml"
101-
this["url"] = "jdbc:mariadb://localhost:3306/elytrarace"
102-
this["username"] = "root"
103-
this["password"] = "%Schueler90"
104-
// set e.g. the Dev Database to perform diffs
105-
this["referenceUrl"] = "jdbc:mariadb://localhost:3306/elytraracediff"
106-
this["referenceUsername"] = "root"
107-
this["referencePassword"] = "%Schueler90"
108-
}
109-
}
110-
}
111-
}*/
112-
/*sonarqube {
113-
properties {
114-
property("sonar.projectKey", "cliar_alwilda-loup_AYHtte8H7chqtZHGSV5T")
115-
property("sonar.qualitygate.wait", true)
116-
}
117-
}
118-
*/

0 commit comments

Comments
 (0)