Skip to content

Commit

Permalink
Merge pull request #8 from JT122406/Gradle
Browse files Browse the repository at this point in the history
Gradle
  • Loading branch information
JT122406 authored Jul 30, 2022
2 parents a00bf62 + c261db9 commit 088b5eb
Show file tree
Hide file tree
Showing 11 changed files with 429 additions and 287 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/maven-publish.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/maven.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/.idea/
/JavaDocs/
/HungerGames.iml
/.gradle/
Binary file added .gradle/file-system.probe
Binary file not shown.
85 changes: 85 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/

plugins {
java
`maven-publish`
id("com.github.johnrengelman.shadow") version "7.1.2"
}

repositories {
mavenLocal()
maven {
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}

maven {
url = uri("https://papermc.io/repo/repository/maven-public/")
}

maven {
url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}

maven {
url = uri("https://repo.codemc.org/repository/maven-public")
}

maven {
url = uri("https://nexus.hc.to/content/repositories/pub_releases")
}

maven {
url = uri("https://jitpack.io")
}

maven {
url = uri("https://simonsator.de/repo/")
}

maven {
url = uri("https://repo.alessiodp.com/releases/")
}

maven {
url = uri("https://mvn.lumine.io/repository/maven-public/")
}

maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
}

dependencies {
shadow("io.papermc:paperlib:1.0.8-SNAPSHOT")
shadow("org.bstats:bstats-bukkit:3.0.0")
shadow("de.tr7zw:item-nbt-api-plugin:2.10.0")
implementation("org.apache.commons:commons-lang3:3.12.0")
compileOnly("org.spigotmc:spigot-api:1.19.1-R0.1-SNAPSHOT")
compileOnly("me.clip:placeholderapi:2.11.2")
compileOnly("de.simonsator:Party-and-Friends-MySQL-Edition-Spigot-API:1.5.3")
compileOnly("de.simonsator:Spigot-Party-API-For-RedisBungee:1.0.3-SNAPSHOT")
compileOnly("de.simonsator:DevelopmentPAFSpigot:1.0.67")
compileOnly("com.alessiodp.parties:parties-api:3.2.6")
compileOnly("io.lumine:Mythic-Dist:5.0.4")
compileOnly("net.milkbowl.vault:VaultAPI:1.7")
compileOnly("com.gmail.nossr50.mcMMO:mcMMO:2.1.216")
}

group = "tk.shanebee.hg"
version = "5.1.2"
description = "HungerGames"
java.sourceCompatibility = JavaVersion.VERSION_11

publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}

tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 088b5eb

Please sign in to comment.