Skip to content

Commit

Permalink
依赖配置
Browse files Browse the repository at this point in the history
  • Loading branch information
jingtian committed Feb 18, 2022
1 parent 305b896 commit f715ba5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
10 changes: 10 additions & 0 deletions app/src/main/java/cn/androidguy/basesdk/app/App.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package cn.androidguy.basesdk.app

import cn.androidguy.basesdk.BaseApplication

/**
* DATE : 2022/2/18
* @author : 景天
*/
class App : BaseApplication() {
}
3 changes: 1 addition & 2 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ afterEvaluate {
from components.release
groupId = 'com.github.LuoGuoXin'
artifactId = 'baseSdk'
version = '1.0.0'
}
}
}
Expand Down Expand Up @@ -49,6 +48,6 @@ dependencies {
compileOnly 'androidx.core:core-ktx:1.3.2'
compileOnly 'androidx.appcompat:appcompat:1.2.0'
compileOnly 'com.google.android.material:material:1.3.0'
implementation 'com.tencent:mmkv-static:1.2.7'
api 'com.tencent:mmkv-static:1.2.7'

}
2 changes: 1 addition & 1 deletion lib/src/main/java/cn/androidguy/basesdk/BaseApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.tencent.mmkv.MMKV
* DATE : 2022/2/18
* @author : 景天
*/
class BaseApplication : Application() {
open class BaseApplication : Application() {

override fun onCreate() {
super.onCreate()
Expand Down

0 comments on commit f715ba5

Please sign in to comment.