godot-kotlin-project-template/build.gradle.kts

49 lines
2 KiB
Text
Raw Normal View History

2024-04-19 14:46:19 -06:00
plugins {
2024-10-07 08:27:27 -06:00
id("com.utopia-rise.godot-kotlin-jvm") version "0.11.0-4.3"
2024-04-19 14:46:19 -06:00
}
repositories {
mavenLocal()
mavenCentral()
google()
}
godot {
2024-09-29 15:39:06 -06:00
// ---------Setup-----------------
// the script registration which you'll attach to nodes are generated into this directory
2024-04-19 14:46:19 -06:00
registrationFileBaseDir.set(projectDir.resolve("scripts"))
2024-09-29 15:39:06 -06:00
// Create .gdj files from all JVM scripts
isRegistrationFileGenerationEnabled.set(true)
// defines whether the script registration files should be generated hierarchically according to the classes package path or flattened into `registrationFileBaseDir`
//isRegistrationFileHierarchyEnabled.set(true)
// defines whether your scripts should be registered with their fqName or their simple name (can help with resolving script name conflicts)
//isFqNameRegistrationEnabled.set(false)
// ---------Android----------------
// NOTE: Make sure you read: https://godot-kotl.in/en/stable/user-guide/exporting/#android as not all jvm libraries are compatible with android!
// IMPORTANT: Android export should to be considered from the start of development!
//isAndroidExportEnabled.set(ANDROID_ENABLED)
//d8ToolPath.set(File("D8_TOOL_PATH"))
//androidCompileSdkDir.set(File("ANDROID_COMPILE_SDK_DIR"))
// --------IOS and Graal------------
// NOTE: this is an advanced feature! Read: https://godot-kotl.in/en/stable/user-guide/advanced/graal-vm-native-image/
// IMPORTANT: Graal Native Image needs to be considered from the start of development!
//isGraalNativeImageExportEnabled.set(IS_GRAAL_VM_ENABLED)
//graalVmDirectory.set(File("GRAAL_VM_DIR"))
//windowsDeveloperVCVarsPath.set(File("WINDOWS_DEVELOPER_VS_VARS_PATH"))
//isIOSExportEnabled.set(IS_IOS_ENABLED)
// --------Library authors------------
// library setup. See: https://godot-kotl.in/en/stable/develop-libraries/
//classPrefix.set("MyCustomClassPrefix")
//projectName.set("LibraryProjectName")
//projectName.set("LibraryProjectName")
2024-05-07 07:57:59 -06:00
}