Skip to content

Commit b6c700c

Browse files
committed
Repositories in settings
1 parent c761c64 commit b6c700c

File tree

8 files changed

+25
-20
lines changed

8 files changed

+25
-20
lines changed

build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ plugins {
22
kotlin("js") apply false
33
}
44

5-
allprojects {
6-
repositories {
7-
mavenCentral()
8-
}
9-
}
10-
115
tasks.wrapper {
126
gradleVersion = "7.2"
137
}

gradle-plugin/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ plugins {
88
kotlin("jvm") version "1.5.21"
99
}
1010

11-
repositories {
12-
mavenCentral()
13-
}
14-
1511
dependencies {
1612
compileOnly(kotlin("gradle-plugin"))
1713
compileOnly(kotlin("compiler-embeddable"))

gradle-plugin/settings.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
rootProject.name = "gradle-plugin"
2+
3+
dependencyResolutionManagement {
4+
repositories {
5+
mavenCentral()
6+
}
7+
}

idea-plugin-test/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ plugins {
44
id("com.github.turansky.yfiles") version "6.7.0"
55
}
66

7-
repositories {
8-
gradlePluginPortal()
9-
mavenCentral()
10-
mavenLocal()
11-
}
12-
137
dependencies {
148
implementation("com.yworks.yfiles:yfiles-kotlin:24.0.2-SNAPSHOT")
159
}

idea-plugin-test/settings.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dependencyResolutionManagement {
2+
repositories {
3+
gradlePluginPortal()
4+
mavenCentral()
5+
mavenLocal()
6+
}
7+
}

idea-plugin/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ plugins {
44
id("com.github.turansky.kfc.version") version "4.21.0"
55
}
66

7-
repositories {
8-
mavenCentral()
9-
}
10-
117
intellij {
128
pluginName.set("yfiles")
139

idea-plugin/settings.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
rootProject.name = "idea-plugin"
2+
3+
dependencyResolutionManagement {
4+
repositories {
5+
mavenCentral()
6+
}
7+
}

settings.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ pluginManagement {
1212
}
1313
}
1414

15+
dependencyResolutionManagement {
16+
repositories {
17+
mavenCentral()
18+
}
19+
}
20+
1521
include("yfiles-kotlin")
1622
include("vsdx-kotlin")
1723

0 commit comments

Comments
 (0)