0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-22 03:05:11 +00:00

improvement/core-presentation create core-presentation

This commit is contained in:
HaliksaR 2020-11-26 22:53:34 +07:00
parent 3944b69609
commit feeaadc497
6 changed files with 51 additions and 0 deletions

View file

@ -98,6 +98,7 @@ static def surroundWithQuotes(Object[] arr) {
dependencies {
implementation project(':core-presentation')
implementation project(":core-ui")
// Kotlin

1
core-presentation/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/build

View file

@ -0,0 +1,39 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig {
minSdkVersion 16
targetSdkVersion 30
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'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
}

View file

@ -0,0 +1 @@
<manifest package="com.vanced.manager.core.presentation" />

View file

@ -0,0 +1,7 @@
package com.vanced.manager.core.presentation
import androidx.lifecycle.ViewModel
class BaseViewModel : ViewModel() {
//TODO
}

View file

@ -1,5 +1,7 @@
rootProject.name='Vanced Manager'
include ':app'
include ':core-presentation'
include ':core-ui'
include ':feature-home'