diff --git a/build.gradle.kts b/build.gradle.kts index f2446e6..8fea82a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,10 +22,19 @@ val modTheSpireId = 1605060445 /** [workshop link](https://steamcommunity.com/sharedfiles/filedetails?id=2902980404) */ val marisaModId = 2902980404 -val workShopDir = project.properties["workshopDir"] ?: "$userSteamDir/workshop/content/$gameSteamId" +val workShopDir = "$userSteamDir/workshop/content/$gameSteamId" val modTheSpireDir = "$workShopDir/$modTheSpireId" val basemodDir = "$workShopDir/$baseModId" +println( + """ + userSteamDir: $userSteamDir + gameDir: $gameDir + basemodDir: $basemodDir + modTheSpireDir: $modTheSpireDir + """.trimIndent() +) + buildscript { repositories { mavenCentral() } @@ -136,6 +145,7 @@ tasks.jar { dependsOn("modthespire") from(sourceSets.main.get().output) + println("built jar!") } tasks.register("hardlink") { diff --git a/gradle.properties.example b/gradle.properties.example index 40e8e92..0ab7834 100644 --- a/gradle.properties.example +++ b/gradle.properties.example @@ -3,5 +3,3 @@ org.gradle.parallel=true kotlin.experimental.tryK2=true # fill in your steam directory ending with '/steamapps' userSteamDir= -# default: "$userSteamDir/workshop/content/$gameSteamId" -workshopDir=