diff --git a/buildScripts/gradle/maven.gradle b/buildScripts/gradle/maven.gradle index 3e76701b0..c006cad63 100644 --- a/buildScripts/gradle/maven.gradle +++ b/buildScripts/gradle/maven.gradle @@ -41,7 +41,6 @@ task jvmTestSdk() { dependsOn gradle.includedBuild('core').task(':gradle-plugin:test') dependsOn gradle.includedBuild('core').task(':utils:test') dependsOn gradle.includedBuild('core').task(':loader:test') - dependsOn ':test_third-party-transform_androidx:assembleDebug' } task androidTestSdk() { diff --git a/projects/test/third-party-transform/README.md b/projects/test/third-party-transform/README.md deleted file mode 100644 index 8680a0180..000000000 --- a/projects/test/third-party-transform/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# 第三方库Transform测试 - -这里的每个目录放一个没有自身代码的空app模块。 - -在app模块中以maven依赖方式依赖一个第三方库,然后应用Shadow Plugin进行Transform测试。 diff --git a/projects/test/third-party-transform/androidx/.gitignore b/projects/test/third-party-transform/androidx/.gitignore deleted file mode 100644 index 796b96d1c..000000000 --- a/projects/test/third-party-transform/androidx/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/projects/test/third-party-transform/androidx/build.gradle b/projects/test/third-party-transform/androidx/build.gradle deleted file mode 100644 index cbc3864ef..000000000 --- a/projects/test/third-party-transform/androidx/build.gradle +++ /dev/null @@ -1,54 +0,0 @@ -apply plugin: 'com.android.application' - -android { - // 专门测试在28版本的SDK下编译androidx.core:core:1.3.1, - // androidx.core:core:1.3.1中引用了29版本的SDK才存在的类 - // androidx.core.graphics.TypefaceCompatApi29Impl。 - compileSdkVersion 28 - - defaultConfig { - applicationId project.TEST_HOST_APP_APPLICATION_ID - minSdkVersion project.MIN_SDK_VERSION - targetSdkVersion project.TARGET_SDK_VERSION - versionCode project.VERSION_CODE - versionName project.VERSION_NAME - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - - signingConfig signingConfigs.create("release") - signingConfig.initWith(buildTypes.debug.signingConfig) - } - } - - lintOptions { - abortOnError false - } -} - -dependencies { - implementation 'androidx.core:core:1.3.1' -} - -buildscript { - repositories { - if (!System.getenv().containsKey("DISABLE_TENCENT_MAVEN_MIRROR")) { - maven { url 'https://mirrors.tencent.com/nexus/repository/maven-public/' } - } else { - google() - jcenter() - } - } - - dependencies { - classpath 'com.tencent.shadow.core:runtime-debug' - classpath 'com.tencent.shadow.core:activity-container-debug' - classpath 'com.tencent.shadow.core:gradle-plugin' - classpath 'org.javassist:javassist:3.28.0-GA' - } -} - -apply plugin: 'com.tencent.shadow.plugin' diff --git a/projects/test/third-party-transform/androidx/src/main/AndroidManifest.xml b/projects/test/third-party-transform/androidx/src/main/AndroidManifest.xml deleted file mode 100644 index 2b2de666a..000000000 --- a/projects/test/third-party-transform/androidx/src/main/AndroidManifest.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index dea82572c..021ce3d23 100644 --- a/settings.gradle +++ b/settings.gradle @@ -33,7 +33,6 @@ def includeTest() { 'test-plugin-multidex-v1_0_2', 'test-plugin-multidex-v2_0_1', 'plugin-service-for-host', - 'test_third-party-transform_androidx', 'test-none-dynamic-host' project(':test-dynamic-host').projectDir = file('projects/test/dynamic/host/test-dynamic-host') project(':test-dynamic-manager').projectDir = file('projects/test/dynamic/manager/test-dynamic-manager') @@ -54,7 +53,6 @@ def includeTest() { project(':test-plugin-multidex-v2_0_1').projectDir = file('projects/test/plugin/particular-cases/multidex/test-plugin-multidex-v2_0_1') project(':plugin-service-for-host').projectDir = file('projects/test/plugin/particular-cases/plugin-service-for-host') project(':test-none-dynamic-host').projectDir = file('projects/test/none-dynamic/host/test-none-dynamic-host') - project(':test_third-party-transform_androidx').projectDir = file('projects/test/third-party-transform/androidx') } def includeSample() {