Closed hf529270451 closed 5 years ago
我想进行单模块部署测试 cd到那个模块的目录下 执行命令 ../gradlew clean assemblePatchDebug 找不到这个task
报错信息: FAILURE: Build failed with an exception.
gradle插件依赖:"com.taobao.android:atlasplugin:3.0.1-rc81"
以下是我的bundle模块配置:
group = 'com.hfyd.atlas.bundle' version = '1.0.0' apply plugin: 'com.android.library' apply plugin: 'com.taobao.atlas' atlas { bundleConfig { awbBundle true } buildTypes { debug { baseApFile project.rootProject.file('app/build/outputs/apk/debug/app-debug.ap') } } } android { compileSdkVersion 28 buildToolsVersion '26.0.2' defaultConfig { minSdkVersion 15 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' providedCompile rootProject.ext.lib_atlas_core }
assemblePatchDebug命令已经废弃。 具体可以参见Demo下面的 Tpatch.txt
我想进行单模块部署测试 cd到那个模块的目录下 执行命令 ../gradlew clean assemblePatchDebug 找不到这个task
报错信息: FAILURE: Build failed with an exception.
gradle插件依赖:"com.taobao.android:atlasplugin:3.0.1-rc81"
以下是我的bundle模块配置: