Remove JCenter usages, fix import, and cleanup build.gradle file.

feat_update_gradle_plugin_and_remove_bintray
Severiano Jaramillo 2021-03-01 22:25:17 -08:00
parent e587eb18ed
commit 38c0f168db
3 changed files with 13 additions and 30 deletions

View File

@ -1,28 +1,18 @@
subprojects {
repositories {
mavenCentral()
}
}
allprojects {
repositories {
mavenCentral()
jcenter()
maven {
url "https://maven.google.com"
}
}
}
buildscript {
repositories {
mavenCentral()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
jcenter()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
}
}
allprojects {
repositories {
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
}
}

View File

@ -10,17 +10,9 @@ android {
versionName "0.6.0"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
debug{}
preRelease{}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
defaultConfig {
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}

View File

@ -1,8 +1,9 @@
package cy.agorise.graphenej;
import android.support.test.runner.AndroidJUnit4;
import android.util.Log;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;