添加依赖

xsy
xy0dls 4 months ago
parent e463e5557b
commit b6631c897a

@ -29,5 +29,30 @@ android {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
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");
}
}
dependencies {
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.activity)
implementation(libs.constraintlayout)
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
// implementation(fileTree(mapOf(
// "dir" to "libs",
// "include" to listOf("*.aar", "*.jar"),
// "exclude" to emptyList<String>()
// )))
implementation(files("libs/lib/httpclient-osgi-4.5.14.jar"))
implementation(files("libs/lib/httpclient-win-4.5.14.jar"))
implementation(files("libs/lib/httpcore-4.4.16.jar"))
}
Loading…
Cancel
Save