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:
parent
3944b69609
commit
feeaadc497
6 changed files with 51 additions and 0 deletions
|
@ -98,6 +98,7 @@ static def surroundWithQuotes(Object[] arr) {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
|
implementation project(':core-presentation')
|
||||||
implementation project(":core-ui")
|
implementation project(":core-ui")
|
||||||
|
|
||||||
// Kotlin
|
// Kotlin
|
||||||
|
|
1
core-presentation/.gitignore
vendored
Normal file
1
core-presentation/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/build
|
39
core-presentation/build.gradle
Normal file
39
core-presentation/build.gradle
Normal 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'
|
||||||
|
}
|
1
core-presentation/src/main/AndroidManifest.xml
Normal file
1
core-presentation/src/main/AndroidManifest.xml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<manifest package="com.vanced.manager.core.presentation" />
|
|
@ -0,0 +1,7 @@
|
||||||
|
package com.vanced.manager.core.presentation
|
||||||
|
|
||||||
|
import androidx.lifecycle.ViewModel
|
||||||
|
|
||||||
|
class BaseViewModel : ViewModel() {
|
||||||
|
//TODO
|
||||||
|
}
|
|
@ -1,5 +1,7 @@
|
||||||
rootProject.name='Vanced Manager'
|
rootProject.name='Vanced Manager'
|
||||||
include ':app'
|
include ':app'
|
||||||
|
|
||||||
|
include ':core-presentation'
|
||||||
include ':core-ui'
|
include ':core-ui'
|
||||||
|
|
||||||
include ':feature-home'
|
include ':feature-home'
|
Loading…
Reference in a new issue