Skip to content

Commit 72be757

Browse files
committed
Clean up plugin repos setup
1 parent 6cb41d1 commit 72be757

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
@@ -34,10 +34,6 @@ version = providers.gradleProperty("ktfmt.version").get()
3434

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

37-
repositories {
38-
mavenCentral()
39-
}
40-
4137
val ktfmtCliDependencies = configurations.dependencyScope("ktfmtCliDependencies")
4238
val ktfmtCliClasspath =
4339
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)