From e6fef18ba7cf472564ca098b71fef12ab42ec1b0 Mon Sep 17 00:00:00 2001 From: Brian Ray Date: Wed, 28 Aug 2024 13:02:51 -0700 Subject: [PATCH] IGN-10603 Late catch: mistake in .kts sdk_version Groovy syntax to this reference doesn't work; it's a lexical val reference in the Kotlin DSL. We should probably get some Kotlin DSL coverage in our unit tests at some point. --- .../src/main/resources/templates/config/modlPluginConfig.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator-core/src/main/resources/templates/config/modlPluginConfig.kts b/generator/generator-core/src/main/resources/templates/config/modlPluginConfig.kts index 7a2c0e2..ea3727f 100644 --- a/generator/generator-core/src/main/resources/templates/config/modlPluginConfig.kts +++ b/generator/generator-core/src/main/resources/templates/config/modlPluginConfig.kts @@ -25,7 +25,7 @@ ignitionModule { * the course of a major Ignition (7.9, 8.0, etc) version, except for when the Ignition Platform adds/changes APIs * used by the module. */ - requiredIgnitionVersion.set(rootProject.ext.sdk_version) + requiredIgnitionVersion.set(sdk_version) /* * This is a map of String: String, where the 'key' represents the fully qualified path to the project * (using gradle path syntax), and the value is the shorthand Scope string.