为什么我在github上找不到那两个jar包
为什么我在github上找不到那两个jar包
为什么我在github上找不到那两个jar包
2016-09-05
apply plugin: 'com.android.application' apply plugin: 'android-apt' def AAVersion = '4.1.0' // change this to your desired version, for example the latest stable: 4.1.0 buildscript { repositories { mavenCentral() } dependencies { // replace with the current version of the Android plugin classpath 'com.android.tools.build:gradle:2.2.0' // the latest version of the android-apt plugin classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } } repositories { mavenCentral() mavenLocal() } dependencies { apt "org.androidannotations:androidannotations:$AAVersion" compile "org.androidannotations:androidannotations-api:$AAVersion" } apt { arguments { androidManifestFile variant.outputs[0].processResources.manifestFile // if you have multiple outputs (when using splits), you may want to have other index than 0 resourcePackageName 'cn.sample.xiaoyu' // If you're using Android NBS flavors you should use the following line instead of hard-coded packageName // resourcePackageName android.defaultConfig.packageName // You can set optional annotation processing options here, like these commented options: // logLevel 'INFO' // logFile '/var/log/aa.log' } } allprojects { repositories { jcenter() } } task clean(type: Delete) { delete rootProject.buildDir } android { compileSdkVersion 24 buildToolsVersion "24.0.3" defaultConfig { applicationId "包名" minSdkVersion 15 targetSdkVersion 24 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:24.2.1' testCompile 'junit:junit:4.12' }
举报