diff --git a/build.gradle b/build.gradle index 2c1803f..680d5da 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,8 @@ allprojects { minSdkVersion = 21 targetSdkVersion = 28 buildToolsVersion = '28.0.3' - jetpackVersion = '1.0.0' + appCompatVersion = '1.0.2' + materialVersion = '1.0.0' lifecycleVersion = '2.0.0' constraintLayoutVersion = '2.0.0-alpha3' mockitoVersion = '2.23.0' diff --git a/core/.gitignore b/core/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/core/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/core/README.md b/core/README.md deleted file mode 100644 index 782b9cb..0000000 --- a/core/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# CORE - -This module contains any core code that affects more than one of the individual models. That includes mostly the activity layouts that are the same in each module. - -We want to emphasize the different architecture patterns, and not clutter each module with repeated XML files, or model classes, that appear in each one. \ No newline at end of file diff --git a/core/build.gradle b/core/build.gradle deleted file mode 100644 index a8c6436..0000000 --- a/core/build.gradle +++ /dev/null @@ -1,40 +0,0 @@ -apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' - -android { - compileSdkVersion project.ext.targetSdkVersion - - defaultConfig { - minSdkVersion project.ext.minSdkVersion - targetSdkVersion project.ext.targetSdkVersion - versionCode 1 - versionName "1.0" - - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } - -} - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - - implementation "androidx.appcompat:appcompat:$jetpackVersion" - implementation "androidx.recyclerview:recyclerview:$jetpackVersion" - implementation "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion" - implementation "com.google.android.material:material:$jetpackVersion" - testImplementation "junit:junit:$junitVersion" - androidTestImplementation "androidx.test:runner:$androidTestVersion" - androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion" - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" -} -repositories { - mavenCentral() -} diff --git a/core/proguard-rules.pro b/core/proguard-rules.pro deleted file mode 100644 index f1b4245..0000000 --- a/core/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/core/src/main/AndroidManifest.xml b/core/src/main/AndroidManifest.xml deleted file mode 100644 index 664f1d2..0000000 --- a/core/src/main/AndroidManifest.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/core/src/main/java/com/adammcneilly/todo_core/BaseAddTaskActivity.kt b/core/src/main/java/com/adammcneilly/todo_core/BaseAddTaskActivity.kt deleted file mode 100644 index cf95789..0000000 --- a/core/src/main/java/com/adammcneilly/todo_core/BaseAddTaskActivity.kt +++ /dev/null @@ -1,26 +0,0 @@ -package com.adammcneilly.todo_core - -import android.os.Bundle -import android.widget.Button -import androidx.appcompat.app.AppCompatActivity -import com.google.android.material.textfield.TextInputEditText - -/** - * This base class sets up the UI for adding a task, and defines any UI components that implementations - * need to reference. This was just for ease of use as the various modules will all have the same UI, - * so there was no need to repeat these files across each one. - */ -open class BaseAddTaskActivity : AppCompatActivity() { - protected val taskDescriptionEditText: TextInputEditText by lazy { - findViewById(R.id.task_description) - } - - protected val submitTaskButton: Button by lazy { - findViewById