标签:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath ‘com.android.tools.build:gradle:1.2.3‘
}
}
apply plugin: ‘android‘
dependencies {
compile fileTree(dir: ‘libs‘, include: ‘*.jar‘)
compile ‘com.android.support:recyclerview-v7:22.2.0‘
}
android {
compileSdkVersion 22
buildToolsVersion ‘23.0.0 rc2‘
sourceSets {
main {
manifest.srcFile ‘AndroidManifest.xml‘
java.srcDirs = [‘src‘]
resources.srcDirs = [‘src‘]
aidl.srcDirs = [‘src‘]
renderscript.srcDirs = [‘src‘]
res.srcDirs = [‘res‘]
assets.srcDirs = [‘assets‘]
}
}
}
标签:
原文地址:http://www.cnblogs.com/dennisac/p/4651536.html