Created
June 8, 2023 16:31
-
-
Save Geolykt/56478cbbb283baf08415ae6e07ac2ad9 to your computer and use it in GitHub Desktop.
GcmcStarplane example configuration
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
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" | |
} |
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
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