Skip to content

Commit

Permalink
Fix build property retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
nailujx86 committed Jul 19, 2024
1 parent 06e4469 commit 5b8f43e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ plugins {
id "org.jsonschema2pojo" version "1.2.1"
}

group = getProperty("pluginGroup")
version = getProperty("pluginVersion")
group = findProperty("pluginGroup")
version = findProperty("pluginVersion")

allprojects {

Expand All @@ -25,7 +25,7 @@ allprojects {
}

patchPluginXml {
version = getProperty("pluginVersion")
version = findProperty("pluginVersion")
sinceBuild = "232.1"
untilBuild = "241.*"
def bodyMatcher = /(?s)(?<=<body>).*(?=<\/body>)/
Expand All @@ -47,8 +47,8 @@ signPlugin {

publishPlugin {
token = System.getenv("PUBLISH_TOKEN")
setHidden(getProperty("hidden") as Boolean)
channels = getProperty("preRelease") ? ["autoconfig-beta"] : ["default", "autoconfig-beta"]
setHidden(findProperty("hidden").toBoolean())
channels = findProperty("preRelease").toBoolean() ? ["autoconfig-beta"] : ["default", "autoconfig-beta"]
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Autoconfig Plugin Properties
pluginVersion = 0.0.3
preRelease = false
hidden = true
hidden = false
pluginGroup = de.gebit.plugins.autoconfig

# IntelliJ Plugin Build Support
Expand Down

0 comments on commit 5b8f43e

Please sign in to comment.