virtualx-engine/platform/android/build.gradle.template

73 lines
1.2 KiB
Text
Raw Normal View History

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}
apply plugin: 'com.android.application'
allprojects {
repositories {
mavenCentral()
2016-01-09 14:21:22 +01:00
$$GRADLE_REPOSITORY_URLS$$
}
}
dependencies {
compile 'com.android.support:support-v4:23.+' // can be removed if minSdkVersion 16 and modify DownloadNotification.java & V14CustomNotification.java
2016-06-25 13:39:03 +02:00
$$GRADLE_DEPENDENCIES$$
}
android {
lintOptions {
abortOnError false
disable 'MissingTranslation'
}
compileSdkVersion 23
buildToolsVersion "23.0.3"
useLibrary 'org.apache.http.legacy'
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src'
2016-06-25 13:39:03 +02:00
$$GRADLE_JAVA_DIRS$$
]
resources.srcDirs = [
'res'
2016-06-25 13:39:03 +02:00
$$GRADLE_RES_DIRS$$
]
res.srcDirs = ['res']
// libs.srcDirs = ['libs']
aidl.srcDirs = [
'aidl'
2016-06-25 13:39:03 +02:00
$$GRADLE_AIDL_DIRS$$
]
assets.srcDirs = [
'assets'
2016-06-25 13:39:03 +02:00
$$GRADLE_ASSET_DIRS$$
]
jniLibs.srcDirs = [
'libs'
2016-06-25 13:39:03 +02:00
$$GRADLE_JNI_DIRS$$
]
}
}
}