mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix: add base files for the indexing API
This commit is contained in:
@@ -26,13 +26,25 @@ android {
|
||||
namespace = "${BuildConfig.packageName}.testing.android"
|
||||
}
|
||||
|
||||
configurations.api {
|
||||
// There is a transitive dependency on 'protobuf-lite' in 'androidTest' configurations
|
||||
// which conflicts with the 'protobuf-javalite' library we use
|
||||
// hence we exclude the dependency and add ours manually
|
||||
//+--- androidx.test.espresso:espresso-core:<...>
|
||||
// +--- com.google.android.material:material:<...>
|
||||
// \--- com.google.android.apps.common.testing.accessibility.framework:accessibility-test-framework:<...>
|
||||
// +--- com.google.protobuf:protobuf-lite:3.0.1
|
||||
exclude(group = "com.google.protobuf", module = "protobuf-lite")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(libs.google.protobuf)
|
||||
api(libs.tests.androidx.espresso.core)
|
||||
api(libs.tests.androidx.espresso.contrib)
|
||||
api(libs.tests.androidx.junit)
|
||||
api(libs.tests.androidx.test.core)
|
||||
api(libs.tests.androidx.test.runner)
|
||||
api(libs.tests.androidx.test.rules)
|
||||
api(libs.tests.androidx.junit)
|
||||
api(libs.tests.androidx.espresso.core)
|
||||
api(libs.tests.androidx.espresso.contrib)
|
||||
api(libs.tests.androidx.uiautomator)
|
||||
api(libs.tests.junit)
|
||||
api(libs.tests.google.truth)
|
||||
|
||||
@@ -18,25 +18,27 @@
|
||||
import com.itsaky.androidide.build.config.BuildConfig
|
||||
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
id("kotlin-android")
|
||||
id("com.android.library")
|
||||
id("kotlin-android")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "${BuildConfig.packageName}.lsp.testing"
|
||||
namespace = "${BuildConfig.packageName}.lsp.testing"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(libs.androidx.core.ktx)
|
||||
api(libs.common.editor)
|
||||
api(libs.common.kotlin)
|
||||
api(libs.androidx.core.ktx)
|
||||
api(libs.common.editor)
|
||||
api(libs.common.kotlin)
|
||||
|
||||
api(projects.actions)
|
||||
api(projects.common)
|
||||
api(projects.eventbusAndroid)
|
||||
api(projects.lsp.api)
|
||||
api(libs.tests.mockito.kotlin)
|
||||
|
||||
api(projects.testing.common)
|
||||
api(projects.testing.tooling)
|
||||
api(projects.testing.unit)
|
||||
api(projects.actions)
|
||||
api(projects.common)
|
||||
api(projects.eventbusAndroid)
|
||||
api(projects.lsp.api)
|
||||
|
||||
api(projects.testing.common)
|
||||
api(projects.testing.tooling)
|
||||
api(projects.testing.unit)
|
||||
}
|
||||
Reference in New Issue
Block a user