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

This commit is contained in:
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 { buildscript {
repositories { repositories {
mavenCentral()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google() google()
jcenter() mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.1.2' 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" versionName "0.6.0"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
} }
buildTypes {
debug{}
preRelease{}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
defaultConfig { defaultConfig {
multiDexEnabled true multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
} }
} }

View file

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