Skip to content

Commit 0f195ab

Browse files
committed
Clean up plugin repos setup
1 parent 7b1ffd0 commit 0f195ab

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ version = providers.gradleProperty("ktfmt.version").get()
3535

3636
tasks.wrapper { distributionType = Wrapper.DistributionType.ALL }
3737

38-
repositories {
39-
mavenCentral()
40-
}
41-
4238
val ktfmtCliDependencies = configurations.dependencyScope("ktfmtCliDependencies")
4339
val ktfmtCliClasspath =
4440
configurations.resolvable("ktfmtCliClasspath") {

settings.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17+
pluginManagement {
18+
repositories {
19+
mavenCentral()
20+
gradlePluginPortal()
21+
}
22+
}
23+
1724
rootProject.name = "ktfmt-parent"
1825

1926
include(
@@ -35,4 +42,7 @@ dependencyResolutionManagement {
3542
version("ktfmt", ktfmtVersion)
3643
}
3744
}
45+
repositories {
46+
mavenCentral()
47+
}
3848
}

0 commit comments

Comments
 (0)