mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-24 12:15:12 +00:00
71 lines
2 KiB
Groovy
71 lines
2 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.1.0'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
flatDir {
|
|
dirs '../libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:22.0.0'
|
|
compile 'com.android.support:appcompat-v7:22.0.0'
|
|
compile 'de.hdodenhof:circleimageview:1.2.1'
|
|
compile 'com.squareup.wire:wire-runtime:1.6.1'
|
|
compile project(':play-services-api')
|
|
compile project(':unifiednlp-base')
|
|
// vtm from ./libs
|
|
compile 'org.oscim:vtm-android:0.6.0-SNAPSHOT@aar'
|
|
compile 'org.oscim:vtm-themes:0.6.0-SNAPSHOT'
|
|
compile 'org.oscim:vtm-extras:0.6.0-SNAPSHOT'
|
|
compile 'org.oscim:vtm: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 22
|
|
buildToolsVersion "22.0.1"
|
|
|
|
sourceSets {
|
|
main {
|
|
java.srcDirs += 'src/main/protos-java'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_6
|
|
}
|
|
}
|
|
|
|
if (file('user.gradle').exists()) {
|
|
apply from: 'user.gradle'
|
|
}
|