Browse Source

chore: add generated DEFAULT_PROGUARD_VERSION in org.jetbrains.compose.ComposeBuildConfig

pull/4946/head
Ellet 7 months ago
parent
commit
6d2bbad283
  1. 1
      gradle-plugins/compose/build.gradle.kts

1
gradle-plugins/compose/build.gradle.kts

@ -30,6 +30,7 @@ val buildConfig = tasks.register("buildConfig", GenerateBuildConfig::class.java)
generatedOutputDir.set(buildConfigDir) generatedOutputDir.set(buildConfigDir)
fieldsToGenerate.put("composeVersion", BuildProperties.composeVersion(project)) fieldsToGenerate.put("composeVersion", BuildProperties.composeVersion(project))
fieldsToGenerate.put("composeGradlePluginVersion", BuildProperties.deployVersion(project)) fieldsToGenerate.put("composeGradlePluginVersion", BuildProperties.deployVersion(project))
fieldsToGenerate.put("DEFAULT_PROGUARD_VERSION", libs.versions.default.proguard.get())
} }
tasks.named("compileKotlin", KotlinCompilationTask::class) { tasks.named("compileKotlin", KotlinCompilationTask::class) {
dependsOn(buildConfig) dependsOn(buildConfig)

Loading…
Cancel
Save