Skip to content

Commit

Permalink
Fix getSubprojectVersion returning Unit
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Jun 19, 2024
1 parent 0168b3d commit d0bb4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ val DEV_ONLY_MODULES: List<String> = listOf(
)

ext["getSubprojectVersion"] = object : groovy.lang.Closure<Unit>(this) {
fun doCall(project: Project) {
getSubprojectVersion(project)
fun doCall(project: Project): String {
return getSubprojectVersion(project)
}
}
ext["moduleDependencies"] = object : groovy.lang.Closure<Unit>(this) {
Expand Down

0 comments on commit d0bb4ef

Please sign in to comment.