mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
34 lines
709 B
Groovy
34 lines
709 B
Groovy
|
buildscript {
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:0.10.+'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
apply plugin: 'android-library'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 19
|
||
|
buildToolsVersion "19.0.0"
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_7
|
||
|
targetCompatibility JavaVersion.VERSION_1_7
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
main {
|
||
|
manifest.srcFile 'AndroidManifest.xml'
|
||
|
java.srcDirs = ['src']
|
||
|
resources.srcDirs = ['src']
|
||
|
aidl.srcDirs = ['src']
|
||
|
renderscript.srcDirs = ['src']
|
||
|
res.srcDirs = ['res']
|
||
|
assets.srcDirs = ['assets']
|
||
|
}
|
||
|
}
|
||
|
}
|