-
-
Save NyCodeGHG/84d67bfa37f665ed2efab604c3a690b2 to your computer and use it in GitHub Desktop.
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
import org.apache.commons.io.output.ByteArrayOutputStream | |
import org.apache.tools.ant.filters.FixCrLfFilter | |
import org.apache.tools.ant.filters.ReplaceTokens | |
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
import java.util.Properties | |
import java.io.FileReader | |
plugins { | |
java | |
id("com.github.johnrengelman.shadow") version "6.1.0" | |
} | |
group = "tv.banko" | |
version = "1.0.0" | |
repositories { | |
jcenter() | |
maven(url = "https://papermc.io/repo/repository/maven-public/") | |
} | |
val minecraft_version: String by project | |
dependencies { | |
// PaperMC Dependency | |
compileOnly("com.destroystokyo.paper", "paper-api", "$minecraft_version-R0.1-SNAPSHOT") | |
} | |
tasks { | |
processResources { | |
filter(FixCrLfFilter::class) | |
filter(ReplaceTokens::class, "tokens" to mapOf("version" to project.version)) | |
filteringCharset = "UTF-8" | |
} | |
jar { | |
// Disabled, because we use the shadowJar task for building our jar | |
enabled = false | |
} | |
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
# Change to your minecraft version | |
minecraft_version=1.16.5 |
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
name: Boardgames | |
api-version: 1.16 | |
authors: | |
- DerBanko | |
main: tv.banko.boardgames.Main | |
version: @version@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment