diff --git a/.idea/gradle.xml b/.idea/gradle.xml
index 4e16521..ba4f62c 100644
--- a/.idea/gradle.xml
+++ b/.idea/gradle.xml
@@ -13,6 +13,7 @@
+
diff --git a/foudations/mogo-commons/build.gradle b/foudations/mogo-commons/build.gradle
index 1303b12..7a8a7ae 100644
--- a/foudations/mogo-commons/build.gradle
+++ b/foudations/mogo-commons/build.gradle
@@ -3,12 +3,12 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
- compileSdkVersion 30
- buildToolsVersion "30.0.2"
+ compileSdkVersion rootProject.ext.android.compileSdkVersion
defaultConfig {
- minSdkVersion 19
- targetSdkVersion 30
+ minSdkVersion rootProject.ext.android.minSdkVersion
+ targetSdkVersion rootProject.ext.android.targetSdkVersion
+
versionCode 1
versionName "1.0"
diff --git a/foudations/mogo-httpdns/build.gradle b/foudations/mogo-httpdns/build.gradle
index ecdd4f9..b2fcc3b 100644
--- a/foudations/mogo-httpdns/build.gradle
+++ b/foudations/mogo-httpdns/build.gradle
@@ -4,12 +4,12 @@ plugins {
}
android {
- compileSdkVersion 30
- buildToolsVersion "30.0.2"
+ compileSdkVersion rootProject.ext.android.compileSdkVersion
defaultConfig {
- minSdkVersion 19
- targetSdkVersion 30
+ minSdkVersion rootProject.ext.android.minSdkVersion
+ targetSdkVersion rootProject.ext.android.targetSdkVersion
+
versionCode 1
versionName "1.0"
@@ -38,9 +38,7 @@ dependencies {
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+
}
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
\ No newline at end of file
diff --git a/foudations/mogo-httpdns/src/androidTest/java/com/mogo/cloud/httpdns/ExampleInstrumentedTest.kt b/foudations/mogo-httpdns/src/androidTest/java/com/mogo/cloud/httpdns/ExampleInstrumentedTest.kt
deleted file mode 100644
index 65c0ee4..0000000
--- a/foudations/mogo-httpdns/src/androidTest/java/com/mogo/cloud/httpdns/ExampleInstrumentedTest.kt
+++ /dev/null
@@ -1,24 +0,0 @@
-package com.mogo.cloud.httpdns
-
-import androidx.test.platform.app.InstrumentationRegistry
-import androidx.test.ext.junit.runners.AndroidJUnit4
-
-import org.junit.Test
-import org.junit.runner.RunWith
-
-import org.junit.Assert.*
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-@RunWith(AndroidJUnit4::class)
-class ExampleInstrumentedTest {
- @Test
- fun useAppContext() {
- // Context of the app under test.
- val appContext = InstrumentationRegistry.getInstrumentation().targetContext
- assertEquals("com.mogo.cloud.httpdns.test", appContext.packageName)
- }
-}
\ No newline at end of file
diff --git a/foudations/mogo-httpdns/src/test/java/com/mogo/cloud/httpdns/ExampleUnitTest.kt b/foudations/mogo-httpdns/src/test/java/com/mogo/cloud/httpdns/ExampleUnitTest.kt
deleted file mode 100644
index 9d7020a..0000000
--- a/foudations/mogo-httpdns/src/test/java/com/mogo/cloud/httpdns/ExampleUnitTest.kt
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.mogo.cloud.httpdns
-
-import org.junit.Test
-
-import org.junit.Assert.*
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-class ExampleUnitTest {
- @Test
- fun addition_isCorrect() {
- assertEquals(4, 2 + 2)
- }
-}
\ No newline at end of file