remove jcenter dependency

This commit is contained in:
Milos Kozak 2021-04-15 20:07:42 +02:00
parent bf85561303
commit e6d93ef0a1
2 changed files with 9 additions and 18 deletions

View file

@ -38,11 +38,6 @@ buildscript {
repositories {
google()
mavenCentral()
jcenter() {
content {
includeModule("org.jetbrains.trove4j", "trove4j")
}
}
maven { url "https://plugins.gradle.org/m2/" } // jacoco 0.2
}
dependencies {
@ -55,6 +50,11 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.hiya:jacoco-android:0.2'
modules {
module("org.jetbrains.trove4j:trove4j") {
replacedBy("org.jetbrains.intellij.deps:trove4j")
}
}
}
}
@ -62,22 +62,15 @@ allprojects {
repositories {
google()
mavenCentral()
maven {
url "https://maven.google.com"
}
maven { url "https://maven.google.com" }
maven { url 'https://jitpack.io' }
maven { url "https://google.bintray.com/flexbox-layout" }
ivy {
url 'https://github.com/'
patternLayout {
artifact '/[organisation]/[module]/archive/[revision].[ext]'
}
}
maven { url 'https://jitpack.io' }
jcenter() {
content {
includeModule("com.google.android", "flexbox")
includeModule("org.jetbrains.trove4j", "trove4j")
}
}
}
//Support @JvmDefault
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {

View file

@ -87,9 +87,7 @@ dependencies {
api 'com.google.android.gms:play-services-wearable:17.0.0'
api 'com.google.android.gms:play-services-location:17.1.0'
api("com.google.android:flexbox:0.3.0") {
exclude group: "com.android.support"
}
api("com.google.android:flexbox:2.0.1")
api("io.socket:socket.io-client:1.0.0") {
// excluding org.json which is provided by Android
exclude group: "org.json", module: "json"