-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Boougouh/main
Optimize Target Reset
- Loading branch information
Showing
21 changed files
with
122 additions
and
161 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar | ||
|
||
plugins { | ||
java | ||
id("com.github.johnrengelman.shadow") version "7.1.0" | ||
} | ||
|
||
group = "me.bloodyhan" | ||
version = "5.0.1" | ||
|
||
repositories { | ||
mavenCentral() | ||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") | ||
maven("https://oss.sonatype.org/content/groups/public/") | ||
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/") | ||
} | ||
|
||
dependencies { | ||
compileOnly("org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT") | ||
implementation("com.zaxxer:HikariCP:4.0.3") | ||
compileOnly("org.projectlombok:lombok:1.18.22") | ||
compileOnly("me.clip:placeholderapi:2.10.10") | ||
|
||
annotationProcessor("org.projectlombok:lombok:1.18.22") | ||
testCompileOnly("org.projectlombok:lombok:1.18.22") | ||
testAnnotationProcessor("org.projectlombok:lombok:1.18.22") | ||
} | ||
|
||
tasks { | ||
|
||
withType<JavaCompile> { | ||
options.encoding = "UTF-8" | ||
} | ||
|
||
val fatJar by named("shadowJar", ShadowJar::class) { | ||
archiveFileName.set("${project.name}-${project.version}.jar") | ||
|
||
dependencies { | ||
exclude(dependency("org.slf4j:.*")) | ||
} | ||
|
||
relocate("com.zaxxer", "me.bloodyhan.libs.com.zaxxer") | ||
minimize() | ||
} | ||
|
||
artifacts { | ||
add("archives", fatJar) | ||
} | ||
|
||
processResources { | ||
inputs.property("version", project.version) | ||
filesMatching("plugin.yml") { | ||
expand("version" to project.version) | ||
} | ||
} | ||
|
||
build { | ||
dependsOn(shadowJar) | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rootProject.name = "BridgeLeveling" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package me.bloodyhan.bridgeleveling.api; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/main/java/me/bloodyhan/bridgeleveling/config/ConfigManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
src/main/java/me/bloodyhan/bridgeleveling/config/SoundConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
src/main/java/me/bloodyhan/bridgeleveling/database/MySQL.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.