AndroidGradle插件0.7.0:“APK打包过程中的重复文件”
build.gradle
:
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.7.0' } } apply plugin: 'android' repositories { maven { url "https://android-rome-feed-reader.googlecode.com/svn/maven2/releases" } maven { url "http://dl.bintray.com/populov/maven" } mavenCentral() } android { compileSdkVersion 19 buildToolsVersion '18.1.1' defaultConfig { minSdkVersion 9 targetSdkVersion 19 } buildTypes { release { runProguard true proguardFile getDefaultProguardFile('proguard-android-optimize.txt') } } productFlavors { defaultFlavor { proguardFile 'proguard-rules.txt' } } sourceSets { instrumentTest.setRoot('src/instrumentTest') } } configurations { apt } ext.androidAnnotationsVersion = '2.7.1'; dependencies { compile 'com.android.support:support-v4:18.0.0' compile 'com.viewpagerindicator:library:2.4.1@aar' compile 'com.google.code.android-rome-feed-reader:android-rome-feed-reader:1.0.0-r2' compile 'org.jdom:jdom:1.1.1-android-fork' apt "com.googlecode.androidannotations:androidannotations:${androidAnnotationsVersion}" compile "com.googlecode.androidannotations:androidannotations-api:${androidAnnotationsVersion}" compile 'com.google.code.gson:gson:2.2.4' compile 'com.j256.ormlite:ormlite-android:4.47' compile 'com.j256.ormlite:ormlite-core:4.47' compile 'org.springframework.android:spring-android-core:1.0.1.RELEASE' compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE' compile 'com.prolificinteractive:actionbarsherlock:4.3.1@aar' compile 'com.google.code.geocoder-java:geocoder-java:0.15' compile files('libs/CWAC-Pager.jar') }
zip -d spring-android-core-1.0.1.RELEASE.jar META-INF/notice.txt
神不在的星期二
慕田峪7331174
肥皂起泡泡
相关分类