Commit f2c34448 by 万齐军

platform不依赖resource

parent 654226aa
...@@ -7,7 +7,7 @@ def getVersionName() { ...@@ -7,7 +7,7 @@ def getVersionName() {
} }
def isLocal(){ def isLocal(){
Properties properties = new Properties() Properties properties = new Properties()
InputStream inputStream = project.rootProject.file('local.properties').newDataInputStream() ; InputStream inputStream = project.rootProject.file('local.properties').newDataInputStream()
properties.load(inputStream) properties.load(inputStream)
def local = properties.getProperty("packageLocal") def local = properties.getProperty("packageLocal")
return local return local
......
...@@ -18,19 +18,6 @@ android { ...@@ -18,19 +18,6 @@ android {
targetSdkVersion rootProject.ext.android["targetSdkVersion"] targetSdkVersion rootProject.ext.android["targetSdkVersion"]
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
flavorDimensions "versionCode"
ndk {
abiFilters "arm64-v8a"
}
vectorDrawables.useSupportLibrary = true
}
lintOptions {
abortOnError false
disable 'MissingTranslation'
} }
buildTypes { buildTypes {
...@@ -75,8 +62,8 @@ dependencies { ...@@ -75,8 +62,8 @@ dependencies {
//====================YDL Repository==================== //====================YDL Repository====================
// api rootProject.ext.dependencies["ydl-pushagent"] // api rootProject.ext.dependencies["ydl-pushagent"]
// api rootProject.ext.dependencies["ydl-hnet"] // api rootProject.ext.dependencies["ydl-hnet"]
api "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
implementation 'com.volcengine:apm_insight:1.4.6.cn' implementation 'com.volcengine:apm_insight:1.4.6.cn'
implementation "com.ydl.aar:resource:0.0.1-ydl"
api(rootProject.ext.dependencies["ydl-notracepoint"]) { api(rootProject.ext.dependencies["ydl-notracepoint"]) {
transitive = true transitive = true
exclude group: 'com.google.code.gson', module: 'gson' exclude group: 'com.google.code.gson', module: 'gson'
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<resources> <resources>
<color name="platform_main_theme">#1da1f2</color>
<color name="platform_color_1DA1F2">#1DA1F2</color> <color name="platform_color_1DA1F2">#1DA1F2</color>
<color name="platform_new_divide_color">#f0f0f0</color> <color name="platform_new_divide_color">#f0f0f0</color>
<color name="platform_white">#ffffff</color> <color name="platform_white">#ffffff</color>
......
...@@ -24,11 +24,6 @@ android { ...@@ -24,11 +24,6 @@ android {
arguments = [AROUTER_MODULE_NAME: "webview"] arguments = [AROUTER_MODULE_NAME: "webview"]
} }
} }
ndk {
abiFilters "arm64-v8a"
}
} }
buildTypes { buildTypes {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment