Skip to content

Commit

Permalink
Revert #65 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-khechfe-wttech committed Aug 2, 2022
1 parent 30c51b2 commit 165c29c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=7.0.11
version=7.0.9
release.useAutomaticVersion=true

# Performance tuning
Expand Down
14 changes: 0 additions & 14 deletions src/main/kotlin/com/neva/gradle/fork/config/properties/Property.kt
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,6 @@ class Property(
}
}

fun force(flag: Boolean, value: String, vararg names: String) = force(flag, value, names.toList())

fun force(flag: Boolean, value: String, patterns: List<String>) {
for (pattern in patterns) {
val others = others(pattern)
for (property in others) {
if (flag) {
property.value = value
}
property.enabled = !flag
}
}
}

fun other(name: String) = context.get(name)

fun others(pattern: String) = context.find(pattern)
Expand Down

0 comments on commit 165c29c

Please sign in to comment.