From 2c09074ad6f78f13920518b61f96876f35ea90a1 Mon Sep 17 00:00:00 2001 From: h4h13 Date: Tue, 19 Feb 2019 23:12:33 +0530 Subject: [PATCH] removed modules --- models/.gitignore | 1 - models/build.gradle | 34 ------------------- models/proguard-rules.pro | 21 ------------ .../models/ExampleInstrumentedTest.java | 26 -------------- models/src/main/AndroidManifest.xml | 1 - .../main/java/code/name/monkey/models/Song.kt | 2 -- models/src/main/res/values/strings.xml | 3 -- .../name/monkey/models/ExampleUnitTest.java | 17 ---------- 8 files changed, 105 deletions(-) delete mode 100644 models/.gitignore delete mode 100644 models/build.gradle delete mode 100644 models/proguard-rules.pro delete mode 100644 models/src/androidTest/java/code/name/monkey/models/ExampleInstrumentedTest.java delete mode 100644 models/src/main/AndroidManifest.xml delete mode 100644 models/src/main/java/code/name/monkey/models/Song.kt delete mode 100644 models/src/main/res/values/strings.xml delete mode 100644 models/src/test/java/code/name/monkey/models/ExampleUnitTest.java diff --git a/models/.gitignore b/models/.gitignore deleted file mode 100644 index 796b96d1..00000000 --- a/models/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/models/build.gradle b/models/build.gradle deleted file mode 100644 index 3ae53d2f..00000000 --- a/models/build.gradle +++ /dev/null @@ -1,34 +0,0 @@ -apply plugin: 'com.android.library' - -android { - compileSdkVersion 28 - - - - defaultConfig { - minSdkVersion 22 - targetSdkVersion 28 - versionCode 1 - versionName "1.0" - - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } - -} - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - - implementation 'com.android.support:appcompat-v7:28.0.0' - testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.2' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' -} diff --git a/models/proguard-rules.pro b/models/proguard-rules.pro deleted file mode 100644 index f1b42451..00000000 --- a/models/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile diff --git a/models/src/androidTest/java/code/name/monkey/models/ExampleInstrumentedTest.java b/models/src/androidTest/java/code/name/monkey/models/ExampleInstrumentedTest.java deleted file mode 100644 index 7c78e94b..00000000 --- a/models/src/androidTest/java/code/name/monkey/models/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package code.name.monkey.models; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("code.name.monkey.models.test", appContext.getPackageName()); - } -} diff --git a/models/src/main/AndroidManifest.xml b/models/src/main/AndroidManifest.xml deleted file mode 100644 index bbec85b9..00000000 --- a/models/src/main/AndroidManifest.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/models/src/main/java/code/name/monkey/models/Song.kt b/models/src/main/java/code/name/monkey/models/Song.kt deleted file mode 100644 index 4ae862a4..00000000 --- a/models/src/main/java/code/name/monkey/models/Song.kt +++ /dev/null @@ -1,2 +0,0 @@ -package code.name.monkey.models - diff --git a/models/src/main/res/values/strings.xml b/models/src/main/res/values/strings.xml deleted file mode 100644 index 5d909ee8..00000000 --- a/models/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - models - diff --git a/models/src/test/java/code/name/monkey/models/ExampleUnitTest.java b/models/src/test/java/code/name/monkey/models/ExampleUnitTest.java deleted file mode 100644 index 126f0918..00000000 --- a/models/src/test/java/code/name/monkey/models/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package code.name.monkey.models; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file