mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-01 08:52:39 +00:00
ae483164a7
We don't have proper code to display a map (without original client library) yet. However applications using it should not crash (as reported in #65)
76 lines
2.2 KiB
Groovy
76 lines
2.2 KiB
Groovy
/*
|
|
* Copyright 2013-2015 microG 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 {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:1.3.0'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
repositories {
|
|
jcenter()
|
|
flatDir {
|
|
dirs '../libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:23.0.1'
|
|
compile 'com.android.support:appcompat-v7:23.0.1'
|
|
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')
|
|
compile project(':wearable-lib')
|
|
// vtm from ./libs
|
|
compile 'org.oscim:vtm-android:0.6.0-SNAPSHOT@aar'
|
|
compile 'org.oscim:vtm-themes:0.6.0-SNAPSHOT@jar'
|
|
compile 'org.oscim:vtm-extras:0.6.0-SNAPSHOT@jar'
|
|
compile 'org.oscim:vtm:0.6.0-SNAPSHOT@jar'
|
|
// 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 23
|
|
buildToolsVersion "23.0.2"
|
|
|
|
sourceSets {
|
|
main {
|
|
java.srcDirs += 'src/main/protos-java'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_6
|
|
}
|
|
lintOptions {
|
|
// TODO: Remove MissingTranslation once we have stable strings and proper translations.
|
|
disable 'MissingTranslation', 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
if (file('user.gradle').exists()) {
|
|
apply from: 'user.gradle'
|
|
}
|