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 { repositories {
google() google()
mavenCentral() mavenCentral()
jcenter() {
content {
includeModule("org.jetbrains.trove4j", "trove4j")
}
}
maven { url "https://plugins.gradle.org/m2/" } // jacoco 0.2 maven { url "https://plugins.gradle.org/m2/" } // jacoco 0.2
} }
dependencies { dependencies {
@ -55,6 +50,11 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.hiya:jacoco-android:0.2' 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 { repositories {
google() google()
mavenCentral() mavenCentral()
maven { maven { url "https://maven.google.com" }
url "https://maven.google.com" maven { url 'https://jitpack.io' }
} maven { url "https://google.bintray.com/flexbox-layout" }
ivy { ivy {
url 'https://github.com/' url 'https://github.com/'
patternLayout { patternLayout {
artifact '/[organisation]/[module]/archive/[revision].[ext]' 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 //Support @JvmDefault
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { 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-wearable:17.0.0'
api 'com.google.android.gms:play-services-location:17.1.0' api 'com.google.android.gms:play-services-location:17.1.0'
api("com.google.android:flexbox:0.3.0") { api("com.google.android:flexbox:2.0.1")
exclude group: "com.android.support"
}
api("io.socket:socket.io-client:1.0.0") { api("io.socket:socket.io-client:1.0.0") {
// excluding org.json which is provided by Android // excluding org.json which is provided by Android
exclude group: "org.json", module: "json" exclude group: "org.json", module: "json"