big ol' refactor of the Gradle Factorio Mod
- handle launching in multiple OSes - specific tasks for specific mod operations - extension object for settings - ground work for multiple mods
This commit is contained in:
parent
2c9c442595
commit
9f2b9cbd5c
33 changed files with 1098 additions and 244 deletions
|
|
@ -31,6 +31,8 @@ dependencies {
|
|||
implementation(libs.ktorClient.cio)
|
||||
implementation(libs.ktorClient.resources)
|
||||
implementation(libs.ktorSerialization.kotlinxJson)
|
||||
|
||||
implementation("org.jetbrains.kotlin:kotlin-compiler-embeddable:${libs.versions.kotlin.get()}")
|
||||
}
|
||||
|
||||
gradlePlugin {
|
||||
|
|
@ -41,6 +43,13 @@ gradlePlugin {
|
|||
implementationClass = "dev.adamko.gradle.factorio.FactorioModPlugin"
|
||||
}
|
||||
}
|
||||
plugins {
|
||||
create("factorioModLibrary") {
|
||||
displayName = "Factorio Mod Library"
|
||||
id = "dev.adamko.factorio-mod-library"
|
||||
implementationClass = "dev.adamko.gradle.factorio.FactorioModLibraryPlugin"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
overrideKotlinLanguageVersion("1.7") // required for Kotlinx Serialization
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue