Skip to content

Instantly share code, notes, and snippets.

@Geolykt
Created June 8, 2023 16:31
Show Gist options
  • Save Geolykt/56478cbbb283baf08415ae6e07ac2ad9 to your computer and use it in GitHub Desktop.
Save Geolykt/56478cbbb283baf08415ae6e07ac2ad9 to your computer and use it in GitHub Desktop.
GcmcStarplane example configuration
plugins {
id 'java'
id 'java-library'
id 'gcmc-starplane' version '0.1.0'
}
group 'de.geolykt'
def archivesBaseName = 'gcmc-test'
version '1.0.0-SNAPSHOT'
repositories {
maven {
name 'geolykt'
url 'https://geolykt.de/maven'
}
mavenCentral()
}
starplane {
game(1169040, "Necesse", "Necesse.jar", "lib/")
mainClass = "StartClient"
}
runMods {
debug = false // Set this to 'true' if you want to attach an external debugger.
}
configurations {
compileOnlyApi.extendsFrom(gameDependencies)
}
dependencies {
runtimeOnly "de.geolykt.starloader:launcher:4.0.0-20230527" // For launching from an IDE
devRuntime "de.geolykt.starloader:launcher:4.0.0-20230527"
}
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven {
name = 'Geolykt'
url = 'https://geolykt.de/maven/'
}
}
}
rootProject.name = 'gcmc-test'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment