1
1
plugins {
2
2
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"
15
3
}
16
4
17
5
group = " net.onelitefeather"
18
- version = " 1. 0.0-SNAPSHOT"
6
+ version = " 0.0.1 -SNAPSHOT"
19
7
20
8
repositories {
21
9
mavenCentral()
22
10
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" )
30
11
}
31
12
32
13
dependencies {
33
14
// Paper
34
15
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" )
62
16
}
63
17
java {
64
18
sourceCompatibility = JavaVersion .VERSION_17
@@ -70,49 +24,5 @@ tasks {
70
24
options.release.set(17 )
71
25
options.encoding = " UTF-8"
72
26
}
73
- test {
74
- useJUnitPlatform()
75
- }
76
- /* runServer {
77
- minecraftVersion("1.18.2")
78
- }*/
79
- /* shadowJar {
80
- archiveFileName.set("${rootProject.name}.${archiveExtension.getOrElse("jar")}")
81
- }*/
82
27
}
83
28
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