Skip to content

Commit 281ae13

Browse files
committed
Remove jCenter and replace with mavenCentral
1 parent 9bf3b3a commit 281ae13

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

affectedmoduledetector/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id 'java-library'
33
id 'kotlin'
44
id 'java-gradle-plugin'
5-
id "com.vanniktech.maven.publish" version "0.18.0"
5+
id "com.vanniktech.maven.publish"
66
}
77

88
apply from: rootProject.file("gradle/jacoco.gradle")

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
ext.kotlin_version = "1.6.10"
44
repositories {
55
google()
6-
jcenter()
6+
mavenCentral()
77
maven {
88
url "https://plugins.gradle.org/m2/"
99
}
@@ -13,6 +13,7 @@ buildscript {
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
classpath("org.jlleitschuh.gradle:ktlint-gradle:10.2.0")
1515
classpath("org.jacoco:org.jacoco.core:0.8.7")
16+
classpath "com.vanniktech:gradle-maven-publish-plugin:0.18.0"
1617
}
1718
}
1819

@@ -21,7 +22,7 @@ apply plugin: "org.jlleitschuh.gradle.ktlint"
2122
allprojects {
2223
repositories {
2324
google()
24-
jcenter()
25+
mavenCentral()
2526
}
2627
}
2728

sample/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import com.dropbox.sample.Dependencies
44
buildscript {
55
repositories {
66
google()
7-
jcenter()
87
maven {
98
url "https://plugins.gradle.org/m2/"
109
}
@@ -37,7 +36,6 @@ affectedModuleDetector {
3736
allprojects {
3837
repositories {
3938
google()
40-
jcenter()
4139
}
4240
}
4341

sample/buildSrc/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ plugins {
88

99
repositories {
1010
google()
11-
jcenter()
1211
mavenLocal()
1312
}
1413

0 commit comments

Comments
 (0)