mirror of
https://github.com/utopia-rise/godot-kotlin-project-template.git
synced 2025-01-10 06:50:54 -07:00
Update to 0.10.0-4.3.0
This commit is contained in:
parent
85e7e00240
commit
702dddba01
3 changed files with 39 additions and 24 deletions
|
@ -1,5 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.utopia-rise.godot-kotlin-jvm") version "0.9.1-4.2.2"
|
id("com.utopia-rise.godot-kotlin-jvm") version "0.10.0-4.3.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -9,12 +9,41 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
godot {
|
godot {
|
||||||
|
// ---------Setup-----------------
|
||||||
|
|
||||||
|
// the script registration which you'll attach to nodes are generated into this directory
|
||||||
registrationFileBaseDir.set(projectDir.resolve("scripts"))
|
registrationFileBaseDir.set(projectDir.resolve("scripts"))
|
||||||
isRegistrationFileHierarchyEnabled.set(true)
|
|
||||||
|
// Create .gdj files from all JVM scripts
|
||||||
// To enable Android Export.
|
isRegistrationFileGenerationEnabled.set(true)
|
||||||
//isAndroidExportEnabled.set(true)
|
|
||||||
|
// defines whether the script registration files should be generated hierarchically according to the classes package path or flattened into `registrationFileBaseDir`
|
||||||
// To enable iOS export and Graal Native Image export.
|
//isRegistrationFileHierarchyEnabled.set(true)
|
||||||
//isGraalNativeImageExportEnabled.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")
|
||||||
}
|
}
|
|
@ -12,7 +12,7 @@ config_version=5
|
||||||
|
|
||||||
config/name="Godot Kotlin/JVM Template"
|
config/name="Godot Kotlin/JVM Template"
|
||||||
run/main_scene="res://main.tscn"
|
run/main_scene="res://main.tscn"
|
||||||
config/features=PackedStringArray("4.2", "Forward Plus")
|
config/features=PackedStringArray("4.3", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
|
@ -1,15 +1 @@
|
||||||
rootProject.name = "godot-kotlin-template"
|
rootProject.name = "godot-kotlin-template"
|
||||||
|
|
||||||
pluginManagement {
|
|
||||||
repositories {
|
|
||||||
mavenLocal()
|
|
||||||
mavenCentral()
|
|
||||||
gradlePluginPortal()
|
|
||||||
google()
|
|
||||||
}
|
|
||||||
resolutionStrategy.eachPlugin {
|
|
||||||
if (requested.id.id == "com.utopia-rise.godot-kotlin-jvm") {
|
|
||||||
useModule("com.utopia-rise:godot-gradle-plugin:${requested.version}")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue