apply plugin: 'com.android.application' apply plugin: com.gradle.AresPlugin android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "com.uddream.gradle.plugin" minSdkVersion 19 targetSdkVersion 25 versionCode 1 versionName "1.0" } signingConfigs { } buildTypes { release { } } productFlavors { } packagingOptions { exclude 'META-INF/DEPENDENCIES.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/notice.txt' exclude 'META-INF/license.txt' exclude 'META-INF/dependencies.txt' exclude 'META-INF/LGPL2.1' } lintOptions { abortOnError false } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:design:23.0.1' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:cardview-v7:23.0.1' compile 'com.android.support:palette-v7:23.0.1' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'de.greenrobot:eventbus:2.4.0' compile project(':mylibrary') } ares { agentClass = 'com/uddream/plugin/Agent' excludes = ['libs', 'eventbus-2.4.0.jar'] }