From 842510ea2dd1a33fa4c79d3490ea5803c6982f53 Mon Sep 17 00:00:00 2001 From: Anka Date: Fri, 28 Jun 2024 02:18:01 +0000 Subject: [PATCH] Add Kotlin Dev and Maven Central Snapshots repositories --- gradle/repositories.gradle.kts | 3 ++- intellij-plugin/build.gradle.kts | 3 ++- .../testProjects/gradle-min-version/build.gradle.kts | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gradle/repositories.gradle.kts b/gradle/repositories.gradle.kts index 67abfb634b9..9c9d62442e9 100644 --- a/gradle/repositories.gradle.kts +++ b/gradle/repositories.gradle.kts @@ -1,7 +1,8 @@ listOf(pluginManagement.repositories, dependencyResolutionManagement.repositories).forEach { it.apply { // Uncomment this one to use the Kotlin "dev" repository - // maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/") } + maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/") } + maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") } mavenCentral() diff --git a/intellij-plugin/build.gradle.kts b/intellij-plugin/build.gradle.kts index b0dd5058b97..87b1f6708d4 100644 --- a/intellij-plugin/build.gradle.kts +++ b/intellij-plugin/build.gradle.kts @@ -19,7 +19,8 @@ commonSetup() // XXX: this should use the settings repositories instead repositories { // Uncomment this one to use the Kotlin "dev" repository - // maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/") } + maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/") } + maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") } mavenCentral() } diff --git a/libraries/apollo-gradle-plugin/testProjects/gradle-min-version/build.gradle.kts b/libraries/apollo-gradle-plugin/testProjects/gradle-min-version/build.gradle.kts index 02b634e3411..6d476ceb353 100644 --- a/libraries/apollo-gradle-plugin/testProjects/gradle-min-version/build.gradle.kts +++ b/libraries/apollo-gradle-plugin/testProjects/gradle-min-version/build.gradle.kts @@ -22,6 +22,8 @@ repositories { url = uri("../../../../build/localMaven") } mavenCentral() + // Uncomment this one to use the Kotlin "dev" repository + maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/") } } configure {