Skip to content

Commit

Permalink
feat: revert presentation rename and remove core, remote module
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeOhHyung committed Apr 18, 2021
1 parent 59c9722 commit 8b0c610
Show file tree
Hide file tree
Showing 56 changed files with 36 additions and 225 deletions.
File renamed without changes.
14 changes: 11 additions & 3 deletions presentation/build.gradle → app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ android {
}

dependencies {

implementation project(':remote')
implementation project(':core')
implementation deps.kotlin.stdlib

implementation deps.jetpack.appCompat
Expand All @@ -97,11 +94,22 @@ dependencies {
implementation deps.androidx.activityKtx
implementation deps.androidx.fragmentKtx

implementation deps.glide.core
implementation deps.glide.okhttp
implementation deps.glide.transformations
kapt deps.glide.compiler

implementation deps.rx.core
implementation deps.rx.android
implementation deps.rx.kotlin
implementation deps.rx.relay

implementation deps.gson
implementation deps.retrofit.core
implementation deps.retrofit.gson
implementation deps.retrofit.rxjava
implementation deps.okhttp.logging

implementation deps.firebase.crashlytics
implementation deps.timber

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package kr.tooni.tooni

import androidx.activity.viewModels
import kr.tooni.tooni.core.base.BaseActivity
import kr.tooni.tooni.base.BaseActivity
import kr.tooni.tooni.databinding.ActivityMainBinding

class MainActivity : BaseActivity<ActivityMainBinding>(R.layout.activity_main) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*/
package kr.tooni.tooni

import kr.tooni.tooni.core.base.BaseViewModel
import kr.tooni.tooni.base.BaseViewModel

class MainViewModel : BaseViewModel()
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.base
package kr.tooni.tooni.base

import android.os.Bundle
import androidx.annotation.LayoutRes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.base
package kr.tooni.tooni.base

import android.os.Bundle
import android.view.LayoutInflater
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.diff
package kr.tooni.tooni.base

import androidx.recyclerview.widget.DiffUtil

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.base
package kr.tooni.tooni.base

interface BaseView {
fun initView()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.base
package kr.tooni.tooni.base

import androidx.lifecycle.ViewModel
import io.reactivex.rxjava3.disposables.CompositeDisposable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.diff
package kr.tooni.tooni.base

import java.io.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.extensions
package kr.tooni.tooni.extensions

import android.content.Context
import androidx.annotation.ColorRes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.extensions
package kr.tooni.tooni.extensions

import android.graphics.drawable.Drawable
import android.widget.ImageView
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.extensions
package kr.tooni.tooni.extensions

import android.graphics.drawable.Drawable
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import kr.tooni.tooni.core.R
import kr.tooni.tooni.R

object ImageViewBindingAdapter {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.extensions
package kr.tooni.tooni.extensions

import android.content.Context
import android.content.res.Resources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.extensions
package kr.tooni.tooni.extensions

import android.content.Context
import androidx.recyclerview.widget.RecyclerView
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Created by Leo on 2021. 04. 17 ..
*/
package kr.tooni.tooni.core.extensions
package kr.tooni.tooni.extensions

import android.content.Context
import android.widget.Toast
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
52 changes: 0 additions & 52 deletions core/build.gradle

This file was deleted.

Empty file removed core/consumer-rules.pro
Empty file.
2 changes: 0 additions & 2 deletions core/src/main/AndroidManifest.xml

This file was deleted.

17 changes: 0 additions & 17 deletions core/src/test/java/kr/tooni/tooni/core/ExampleUnitTest.kt

This file was deleted.

26 changes: 9 additions & 17 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app"s APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.daemon=true
org.gradle.configureondemand=true
kotlin.incremental=true
kotlin.incremental.usePreciseJavaTracking=true
android.enableBuildCache=true
android.useAndroidX=true
# Kotlin code style for this project: "official" or "obsolete":
android.enableJetifier=true
kotlin.code.style=official
1 change: 0 additions & 1 deletion presentation/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions presentation/proguard-rules.pro

This file was deleted.

1 change: 0 additions & 1 deletion remote/.gitignore

This file was deleted.

48 changes: 0 additions & 48 deletions remote/build.gradle

This file was deleted.

Empty file removed remote/consumer-rules.pro
Empty file.
21 changes: 0 additions & 21 deletions remote/proguard-rules.pro

This file was deleted.

2 changes: 0 additions & 2 deletions remote/src/main/AndroidManifest.xml

This file was deleted.

5 changes: 0 additions & 5 deletions remote/src/main/kotlin/kr/tooni/tooni/remote/Stub.kt

This file was deleted.

17 changes: 0 additions & 17 deletions remote/src/test/java/kr/tooni/tooni/remote/ExampleUnitTest.kt

This file was deleted.

4 changes: 1 addition & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
rootProject.name = "tooni-tooni-android"
include ':presentation'
include ':remote'
include ':core'
include ':app'

0 comments on commit 8b0c610

Please sign in to comment.