mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-16 07:55:06 +00:00
e1b757de3e
Fix lint (fixes #20) (hopefully) Fix mcs loop (could cause high battery drain) Show link to UnifiedNlp in settings (mentioned in #10, @XDA) Add extended description for settings (mentioned @XDA)
75 lines
2.1 KiB
Groovy
75 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 {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:1.2.3'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
repositories {
|
|
jcenter()
|
|
flatDir {
|
|
dirs '../libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:22.2.0'
|
|
compile 'com.android.support:appcompat-v7:22.2.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
|
|
}
|
|
lintOptions {
|
|
// TODO: Remove MissingTranslation once we have stable strings and proper translations.
|
|
disable 'MissingTranslation', 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
if (file('user.gradle').exists()) {
|
|
apply from: 'user.gradle'
|
|
}
|