From f0d93fc331ffeedb20c1dd78ec76173ff3643403 Mon Sep 17 00:00:00 2001 From: KAWASHIMA Yoshiyuki Date: Wed, 10 Mar 2021 02:16:16 +0900 Subject: [PATCH 1/3] Remove jcenter fixes #328 --- build.gradle | 3 --- 1 file changed, 3 deletions(-) diff --git a/build.gradle b/build.gradle index 0b8795e56..61efa8996 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,6 @@ buildscript { repositories { google() mavenCentral() - jcenter() maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" } } dependencies { @@ -33,7 +32,6 @@ plugins { allprojects { repositories { google() - jcenter() mavenCentral() maven { url 'https://androidx.dev/snapshots/builds/6767375/artifacts/ui/repository' } maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" } @@ -49,7 +47,6 @@ allprojects { repositories { google() mavenCentral() -// jcenter() } apply plugin: 'com.diffplug.spotless' From 17a2bf3534babd236be51979a3b5ddbebb1ce122 Mon Sep 17 00:00:00 2001 From: KAWASHIMA Yoshiyuki Date: Wed, 10 Mar 2021 02:27:03 +0900 Subject: [PATCH 2/3] Remove bintray fixes #328 --- build.gradle | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build.gradle b/build.gradle index 61efa8996..a47088644 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,6 @@ buildscript { repositories { google() mavenCentral() - maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" } } dependencies { classpath 'com.android.tools.build:gradle:7.0.0-alpha08' @@ -34,11 +33,6 @@ allprojects { google() mavenCentral() maven { url 'https://androidx.dev/snapshots/builds/6767375/artifacts/ui/repository' } - maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" } - maven { url = uri("https://dl.bintray.com/korlibs/korlibs/") } - maven { url "https://dl.bintray.com/kotlin/kotlinx" } - maven { url "https://dl.bintray.com/kotlin/ktor" } - maven { url "https://kotlin.bintray.com/kotlinx" } maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } } } From 79e7e7c7b2ed7502c8b02a6fb86ecc7304d072fd Mon Sep 17 00:00:00 2001 From: KAWASHIMA Yoshiyuki Date: Thu, 18 Mar 2021 03:10:36 +0900 Subject: [PATCH 3/3] Add jcenter snippet > This snippet enables jcenter only for the dependencies described within the block. https://github.com/Kotlin/kotlinx.html/issues/173#issuecomment-800504909 fixes #328 --- build.gradle | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/build.gradle b/build.gradle index a158255e3..0961f1300 100644 --- a/build.gradle +++ b/build.gradle @@ -8,6 +8,15 @@ buildscript { repositories { google() mavenCentral() + // This snippet enables jcenter only for the dependencies described within the block. + // Once they are on maven central you can just remove it. + // https://github.com/Kotlin/kotlinx.html/issues/173#issuecomment-800504909 + jcenter { + content { + includeModule("org.jetbrains.kotlinx", "kotlinx-html-jvm") + includeModule("org.jetbrains.kotlinx", "kotlinx-collections-immutable-jvm") + } + } } dependencies { classpath 'com.android.tools.build:gradle:7.0.0-alpha09' @@ -33,6 +42,15 @@ allprojects { repositories { google() mavenCentral() + // This snippet enables jcenter only for the dependencies described within the block. + // Once they are on maven central you can just remove it. + // https://github.com/Kotlin/kotlinx.html/issues/173#issuecomment-800504909 + jcenter { + content { + includeModule("org.jetbrains.kotlinx", "kotlinx-html-jvm") + includeModule("org.jetbrains.kotlinx", "kotlinx-collections-immutable-jvm") + } + } maven { url 'https://androidx.dev/snapshots/builds/6767375/artifacts/ui/repository' } maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } }