Skip to content

Commit

Permalink
Remove jcenter(), it closed down 2.5 years ago.
Browse files Browse the repository at this point in the history
  • Loading branch information
chimbori committed Sep 30, 2023
1 parent 66178b1 commit 3d54381
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ def testReportsDir = "${rootProject.buildDir}/test-reports"
def testResultsDir = "${rootProject.buildDir}/test-results"

buildscript {

ext.kotlin_version = '1.6.21'
ext.android_plugin_version = '7.0.4'
ext.sdkVersion = 31
Expand All @@ -19,22 +18,18 @@ buildscript {
repositories {
google()
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath "com.android.tools.build:gradle:$android_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18"


// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects { project ->

repositories {
google()
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ afterEvaluate {
version = '2.10.1'

pom.withXml {
def dependenciesNode = (asNode().get("dependencies") as groovy.util.NodeList).get(0) as groovy.util.Node
def dependenciesNode = (asNode().get("dependencies") as NodeList).get(0) as Node
def configurationNames = ["implementation", "api"]

configurationNames.forEach { configurationName ->
Expand Down

0 comments on commit 3d54381

Please sign in to comment.