File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/publishing Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 66package aws.sdk.kotlin.gradle.publishing
77
88import aws.sdk.kotlin.gradle.util.getOrNull
9+ import aws.sdk.kotlin.gradle.util.prop
910import org.gradle.api.Project
1011import org.gradle.api.Task
1112import org.gradle.api.publish.PublishingExtension
@@ -19,7 +20,7 @@ import proguard.gradle.ProGuardTask
1920import java.io.File
2021
2122fun Project.configureJarReduction (group : String ) {
22- val jarReductionEnabled = project.findProperty (" aws.sdk.proguard" ) as String? == " true"
23+ val jarReductionEnabled = prop (" aws.sdk.proguard" ) as String? == " true"
2324 if (! jarReductionEnabled) return
2425
2526 val testLocalJarReplacementTasks = mutableSetOf<Task >()
You can’t perform that action at this time.
0 commit comments