Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Add required repositories block to samples
Browse files Browse the repository at this point in the history
Starting with Kotlin 1.2.60.*, afaict, the Kotlin plugin downloads the
Kotlin compiler and its dependencies on demand using a project
configuration, which requires a repository to be configured. These
repositories were not necessary until the upgrade to Kotlin 1.2.60
because the kotlin-eap repository was being automatically added to
every project (to ease migration).
  • Loading branch information
bamboo committed Aug 2, 2018
1 parent 9e4acb5 commit 2ceb56e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions samples/buildSrc-plugin/buildSrc/build.gradle.kts
Expand Up @@ -11,3 +11,7 @@ gradlePlugin {
}
}
}

repositories {
jcenter()
}
4 changes: 4 additions & 0 deletions samples/gradle-plugin/plugin/build.gradle.kts
Expand Up @@ -21,3 +21,7 @@ publishing {
maven(url = "build/repository")
}
}

repositories {
jcenter()
}
4 changes: 4 additions & 0 deletions samples/model-rules/buildSrc/build.gradle.kts
@@ -1,3 +1,7 @@
plugins {
`kotlin-dsl`
}

repositories {
jcenter()
}
@@ -1,3 +1,7 @@
plugins {
`kotlin-dsl`
}

repositories {
jcenter()
}
4 changes: 4 additions & 0 deletions samples/multi-project-with-buildSrc/buildSrc/build.gradle.kts
@@ -1,3 +1,7 @@
plugins {
`kotlin-dsl`
}

repositories {
jcenter()
}
4 changes: 4 additions & 0 deletions samples/precompiled-script-plugin/plugin/build.gradle.kts
Expand Up @@ -15,3 +15,7 @@ publishing {
maven(url = "build/repository")
}
}

repositories {
jcenter()
}
4 changes: 4 additions & 0 deletions samples/project-with-buildSrc/buildSrc/build.gradle.kts
@@ -1,3 +1,7 @@
plugins {
`kotlin-dsl`
}

repositories {
jcenter()
}

0 comments on commit 2ceb56e

Please sign in to comment.