File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
kt/plugins/godot-gradle-plugin/src/main/kotlin/godot/gradle Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ repositories {
1313godot {
1414 registrationFileBaseDir.set(projectDir.resolve(" scripts" ).also { it.mkdirs() })
1515 isRegistrationFileHierarchyEnabled.set(true )
16- enableGodotCoroutines .set(true )
16+ isGodotCoroutinesEnabled .set(true )
1717
1818 // uncomment to test android
1919// isAndroidExportEnabled.set(true)
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ open class GodotExtension(objects: ObjectFactory) {
171171 *
172172 * If set to true, import godot-coroutine-library
173173 */
174- val enableGodotCoroutines : Property <Boolean > = objects.property(Boolean ::class .java)
174+ val isGodotCoroutinesEnabled : Property <Boolean > = objects.property(Boolean ::class .java)
175175
176176 internal fun configureExtensionDefaults (target : Project ) {
177177 val androidSdkRoot = System .getenv(" ANDROID_SDK_ROOT" )?.let { androidSdkRoot ->
@@ -226,7 +226,7 @@ open class GodotExtension(objects: ObjectFactory) {
226226 additionalGraalResourceConfigurationFiles.set(arrayOf())
227227 isGraalVmNativeImageGenerationVerbose.set(false )
228228
229- enableGodotCoroutines .set(false )
229+ isGodotCoroutinesEnabled .set(false )
230230
231231 System .getenv(" VC_VARS_PATH" )?.let {
232232 windowsDeveloperVCVarsPath.set(File (it))
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ abstract class GodotPlugin : Plugin<Project> {
3434
3535 // registers the tooling model builder, so it can be used by the ide plugin
3636 afterEvaluate {
37- if (godotJvmExtension.enableGodotCoroutines .get()) {
37+ if (godotJvmExtension.isGodotCoroutinesEnabled .get()) {
3838 dependencies.add(
3939 " implementation" ,
4040 dependencies.create(" com.utopia-rise:${godotCoroutineLibraryArtifactName} :${GodotBuildProperties .assembledGodotKotlinJvmVersion} " )
You can’t perform that action at this time.
0 commit comments