Skip to content

Commit

Permalink
Revert "starting out"
Browse files Browse the repository at this point in the history
This reverts commit b97a901.
  • Loading branch information
Jsinco committed Nov 18, 2024
1 parent 94e28d7 commit 0e0983c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 128 deletions.
17 changes: 3 additions & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ repositories {
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/") // PlaceholderAPI
maven("https://repo.glaremasters.me/repository/towny/") // Towny
maven("https://repo.oraxen.com/releases") // Oraxen
maven("https://storehouse.okaeri.eu/repository/maven-public/") // Okaeri Config
}

dependencies {
Expand Down Expand Up @@ -57,17 +56,8 @@ dependencies {
implementation("com.google.code.gson:gson:2.11.0")
implementation("org.jetbrains:annotations:16.0.2") // https://www.jetbrains.com/help/idea/annotating-source-code.html
implementation("com.github.Anon8281:UniversalScheduler:0.1.3") // https://github.com/Anon8281/UniversalScheduler
// I just implemented this manually
//implementation("org.bstats:bstats-bukkit:3.0.2") // https://bstats.org/getting-started/include-metrics

// Lombok
compileOnly("org.projectlombok:lombok:1.18.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")

// Okaeri configuration
implementation("eu.okaeri:okaeri-configs-yaml-snakeyaml:5.0.5")


testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
Expand Down Expand Up @@ -103,7 +93,6 @@ tasks {
shadowJar {
relocate("com.google", "com.dre.brewery.depend.google")
relocate("com.github.Anon8281.universalScheduler", "com.dre.brewery.depend.universalScheduler")
relocate("eu.okaeri", "com.dre.brewery.depend.okaeri")
//relocate("org.bstats", "com.dre.brewery.integration.bstats")

archiveClassifier.set("")
Expand All @@ -113,9 +102,9 @@ tasks {
register<Copy>("prepareKotlinReducedJar") {
dependsOn(shadowJar)
from(zipTree(shadowJar.get().archiveFile))
into("${layout.buildDirectory}/kt-reduced")
into("$buildDir/kt-reduced")
doLast {
val pluginFile = file("${layout.buildDirectory}/kt-reduced/plugin.yml")
val pluginFile = file("$buildDir/kt-reduced/plugin.yml")
var content = pluginFile.readText()
content = content.replace("libraries: ['org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10']", "")
pluginFile.writeText(content)
Expand All @@ -124,7 +113,7 @@ tasks {

register<Jar>("kotlinReducedJar") {
dependsOn("prepareKotlinReducedJar")
from("${layout.buildDirectory}/kt-reduced")
from("$buildDir/kt-reduced")
include("**/*")
duplicatesStrategy = DuplicatesStrategy.INHERIT
archiveClassifier.set("KtReduced")
Expand Down
55 changes: 0 additions & 55 deletions src/main/java/com/dre/brewery/files/AbstractOkaeriConfigFile.java

This file was deleted.

59 changes: 0 additions & 59 deletions src/main/java/com/dre/brewery/files/Config.java

This file was deleted.

0 comments on commit 0e0983c

Please sign in to comment.