Skip to content

Commit

Permalink
Trim leading colon
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 31, 2024
1 parent 9b910f1 commit e3cbb8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repoman/src/main/resources/templates/settings.gradle.kts.kte
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ rootProject.name = "${meta.files.gradleRootProject.rootProjectName}"
@endif

@for(entry in meta.files.gradleRootProject.includedProjects)
include(":${entry.name}")
include(":${entry.name.trimStart(':')}")
@if(entry.path != null)
project(":${entry.name}").projectDir = file("${entry.path}")
project(":${entry.name.trimStart(':')}").projectDir = file("${entry.path}")
@endif
@endfor

Expand Down

0 comments on commit e3cbb8d

Please sign in to comment.