Parcourir la source

remove unused module

MrOzOn il y a 5 ans
Parent
commit
232f7683ef

+ 0 - 1
feature_showperson/.gitignore

@@ -1 +0,0 @@
-/build

+ 0 - 57
feature_showperson/build.gradle

@@ -1,57 +0,0 @@
-apply plugin: 'com.android.library'
-apply plugin: 'kotlin-android'
-apply plugin: 'kotlin-android-extensions'
-apply plugin: 'kotlin-kapt'
-
-android {
-    compileSdkVersion 29
-    buildToolsVersion "29.0.3"
-
-    defaultConfig {
-        minSdkVersion 21
-        targetSdkVersion 29
-        versionCode 1
-        versionName "1.0"
-
-        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
-        consumerProguardFiles 'consumer-rules.pro'
-    }
-
-    buildTypes {
-        release {
-            minifyEnabled false
-            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
-        }
-    }
-    dataBinding {
-        enabled = true
-    }
-    compileOptions {
-        sourceCompatibility JavaVersion.VERSION_1_8
-        targetCompatibility JavaVersion.VERSION_1_8
-    }
-    kotlinOptions {
-        jvmTarget = '1.8'
-    }
-
-}
-
-apply from: "$project.rootDir/scripts/deps_versions.gradle"
-
-dependencies {
-    //DAGGER
-    implementation dagger
-    kapt daggerCompiler
-    implementation project(':utils')
-    implementation constraintlayout
-    //Timber
-    implementation timber
-
-    implementation fileTree(dir: 'libs', include: ['*.jar'])
-    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
-    implementation 'androidx.appcompat:appcompat:1.2.0'
-    implementation 'androidx.core:core-ktx:1.3.1'
-    testImplementation 'junit:junit:4.12'
-    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
-}

+ 0 - 0
feature_showperson/consumer-rules.pro


+ 0 - 21
feature_showperson/proguard-rules.pro

@@ -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

+ 0 - 24
feature_showperson/src/androidTest/java/com/mrozon/feature_showperson/ExampleInstrumentedTest.kt

@@ -1,24 +0,0 @@
-package com.mrozon.feature_showperson
-
-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.mrozon.feature_showperson.test", appContext.packageName)
-    }
-}

+ 0 - 2
feature_showperson/src/main/AndroidManifest.xml

@@ -1,2 +0,0 @@
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="com.mrozon.feature_showperson" />

+ 0 - 21
feature_showperson/src/main/java/com/mrozon/feature_showperson/presentation/showperson/ShowPersonFragment.kt

@@ -1,21 +0,0 @@
-package com.mrozon.feature_showperson.presentation.showperson
-
-import android.os.Bundle
-import android.view.View
-import com.mrozon.feature_showperson.R
-import com.mrozon.feature_showperson.databinding.FragmentShowPersonBinding
-import timber.log.Timber
-import javax.inject.Inject
-
-class ShowPersonFragment: com.mrozon.utils.base.BaseFragment<FragmentShowPersonBinding>() {
-
-    @Inject
-    lateinit var showPersonViewModal: ShowPersonViewModal
-
-    override fun getLayoutId(): Int = R.layout.fragment_show_person
-
-    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
-        super.onViewCreated(view, savedInstanceState)
-        Timber.d("onViewCreated")
-    }
-}

+ 0 - 11
feature_showperson/src/main/java/com/mrozon/feature_showperson/presentation/showperson/ShowPersonViewModal.kt

@@ -1,11 +0,0 @@
-package com.mrozon.feature_showperson.presentation.showperson
-
-import com.mrozon.utils.base.BaseViewModel
-import timber.log.Timber
-import javax.inject.Inject
-
-class ShowPersonViewModal @Inject constructor(): com.mrozon.utils.base.BaseViewModel() {
-    init {
-        Timber.d("init ShowPersonViewModal")
-    }
-}

+ 0 - 24
feature_showperson/src/main/res/layout/fragment_show_person.xml

@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<layout xmlns:app="http://schemas.android.com/apk/res-auto"
-    xmlns:tools="http://schemas.android.com/tools"
-    xmlns:android="http://schemas.android.com/apk/res/android">
-
-    <data>
-
-    </data>
-
-    <androidx.constraintlayout.widget.ConstraintLayout
-        android:layout_width="match_parent"
-        android:layout_height="match_parent">
-
-        <TextView
-            android:id="@+id/textView"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:text="TextView"
-            app:layout_constraintBottom_toBottomOf="parent"
-            app:layout_constraintEnd_toEndOf="parent"
-            app:layout_constraintStart_toStartOf="parent"
-            app:layout_constraintTop_toTopOf="parent" />
-    </androidx.constraintlayout.widget.ConstraintLayout>
-</layout>

+ 0 - 17
feature_showperson/src/test/java/com/mrozon/feature_showperson/ExampleUnitTest.kt

@@ -1,17 +0,0 @@
-package com.mrozon.feature_showperson
-
-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)
-    }
-}