Skip to content

Commit

Permalink
Add local Maven repository if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ileasile committed Jul 31, 2020
1 parent 73ca25b commit ea1dc5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ pluginManagement {
// only when using Kotlin EAP releases ...
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-dev") }

// Used for TeamCity build
val m2LocalPath = File(".m2/repository")
if (m2LocalPath.exists()) {
maven(m2LocalPath.toURI())
}
}

resolutionStrategy {
Expand Down

0 comments on commit ea1dc5a

Please sign in to comment.