Skip to content

Commit 25cfe3d

Browse files
committed
fix relative gradle properties
1 parent d7bfa5f commit 25cfe3d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build-logic/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinBaseExtension
33
plugins {
44
`kotlin-dsl`
55
alias(libs.plugins.vaniktech) apply false
6-
id("ru.astrainteractive.gradleplugin.detekt") version "1.11.4" apply true
6+
id("ru.astrainteractive.gradleplugin.detekt") version "1.13.1" apply true
77
}
88

99
private fun requireProperty(key: String): String {

build-logic/plugins/convention/src/main/kotlin/ru/astrainteractive/gradleplugin/property/internal/ProjectPropertyValue.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class ProjectPropertyValue(
3131

3232
override fun getValue() = runCatching {
3333
getLocalProperty().getOrNull()
34-
?: getGradleProperty().getOrNull()
35-
?: getGradleFileProperty().getOrThrow()
34+
?: getGradleFileProperty().getOrNull()
35+
?: getGradleProperty().getOrThrow()
3636
}.onFailure { throwable ->
3737
project.logger.error(
3838
"Couldn't find $key in local.properties, gradle.properties, and project.providers.gradleProperty",

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ project.name=GradlePlugin
88
project.description=GradlePlugin for my kotlin projects
99
project.group=ru.astrainteractive.gradleplugin
1010
project.web=https://github.com/makeevrserg/gradle-plugin
11-
project.version.string=1.13.1
11+
project.version.string=1.13.2

0 commit comments

Comments
 (0)