mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-01 00:42:39 +00:00
74 lines
2.1 KiB
Groovy
74 lines
2.1 KiB
Groovy
/*
|
|
* Copyright 2013-2015 µg Project Team
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:1.0.0'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:21.0.3'
|
|
compile 'com.android.support:appcompat-v7:21.0.3'
|
|
|
|
compile project(':GmsApi')
|
|
compile project(':UnifiedNlpLib')
|
|
|
|
# vtm from ./libs
|
|
compile group: 'org.oscim', name: 'vtm-android', version: '0.6.0-SNAPSHOT', ext: 'aar'
|
|
compile group: 'org.oscim', name: 'vtm-themes', version: '0.6.0-SNAPSHOT'
|
|
compile group: 'org.oscim', name: 'vtm-extras', version: '0.6.0-SNAPSHOT'
|
|
compile group: 'org.oscim', name: 'vtm', version: '0.6.0-SNAPSHOT'
|
|
|
|
# Dependencies for vtm
|
|
compile 'com.fasterxml.jackson.core:jackson-core:2.3.0'
|
|
compile 'com.vividsolutions:jts:1.13'
|
|
compile 'com.google.protobuf:protobuf-java:2.4.1'
|
|
compile 'org.openstreetmap.osmosis:osmosis-osm-binary:0.43.1'
|
|
compile 'org.slf4j:slf4j-android:1.7.6'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 21
|
|
buildToolsVersion "21.1.2"
|
|
lintOptions.abortOnError false
|
|
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
java.srcDirs = ['src']
|
|
aidl.srcDirs = ['src']
|
|
res.srcDirs = ['res']
|
|
assets.srcDirs = ['assets']
|
|
}
|
|
}
|
|
}
|
|
|
|
if (file('user.gradle').exists()) {
|
|
apply from: 'user.gradle'
|
|
}
|