|
|
@ -3,6 +3,13 @@ plugins {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
android {
|
|
|
|
|
|
|
|
packaging {
|
|
|
|
|
|
|
|
resources.excludes.add("META-INF/DEPENDENCIES");
|
|
|
|
|
|
|
|
resources.excludes.add("META-INF/NOTICE");
|
|
|
|
|
|
|
|
resources.excludes.add("META-INF/LICENSE");
|
|
|
|
|
|
|
|
resources.excludes.add("META-INF/LICENSE.txt");
|
|
|
|
|
|
|
|
resources.excludes.add("META-INF/NOTICE.txt");
|
|
|
|
|
|
|
|
}
|
|
|
|
namespace = "net.micode.notes"
|
|
|
|
namespace = "net.micode.notes"
|
|
|
|
compileSdk = 35
|
|
|
|
compileSdk = 35
|
|
|
|
|
|
|
|
|
|
|
@ -37,16 +44,16 @@ dependencies {
|
|
|
|
implementation(libs.material)
|
|
|
|
implementation(libs.material)
|
|
|
|
implementation(libs.activity)
|
|
|
|
implementation(libs.activity)
|
|
|
|
implementation(libs.constraintlayout)
|
|
|
|
implementation(libs.constraintlayout)
|
|
|
|
// 部分需要重新修改
|
|
|
|
// 部分需要重新修改
|
|
|
|
// implementation(fileTree(mapOf(
|
|
|
|
// implementation(fileTree(mapOf(
|
|
|
|
// "dir" to "D:\\Code\\AndroidCode\\Notesmaster\\httpcomponents-client-4.5.14-bin\\lib",
|
|
|
|
// "dir" to "D:\\Code\\AndroidCode\\Notesmaster\\httpcomponents-client-4.5.14-bin\\lib",
|
|
|
|
// "include" to listOf("*.aar", "*.jar"),
|
|
|
|
// "include" to listOf("*.aar", "*.jar"),
|
|
|
|
// "exclude" to listOf("")
|
|
|
|
// "exclude" to listOf("")
|
|
|
|
// )))
|
|
|
|
// )))
|
|
|
|
//修改为如下代码:
|
|
|
|
//修改为如下代码:
|
|
|
|
implementation(files("D:\\Code\\AndroidCode\\Notesmaster\\httpcomponents-client-4.5.14-bin\\lib\\httpclient-osgi-4.5.14.jar"))
|
|
|
|
implementation(files("E:\\迅雷下载\\lib\\httpclient-osgi-4.5.14.jar"))
|
|
|
|
implementation(files("D:\\Code\\AndroidCode\\Notesmaster\\httpcomponents-client-4.5.14-bin\\lib\\httpclient-win-4.5.14.jar"))
|
|
|
|
implementation(files("E:\\迅雷下载\\lib\\httpclient-win-4.5.14.jar"))
|
|
|
|
implementation(files("D:\\Code\\AndroidCode\\Notesmaster\\httpcomponents-client-4.5.14-bin\\lib\\httpcore-4.4.16.jar"))
|
|
|
|
implementation(files("E:\\迅雷下载\\lib\\httpcore-4.4.16.jar"))
|
|
|
|
testImplementation(libs.junit)
|
|
|
|
testImplementation(libs.junit)
|
|
|
|
androidTestImplementation(libs.ext.junit)
|
|
|
|
androidTestImplementation(libs.ext.junit)
|
|
|
|
androidTestImplementation(libs.espresso.core)
|
|
|
|
androidTestImplementation(libs.espresso.core)
|
|
|
|