VancedMicroG/build.gradle

78 lines
2.2 KiB
Groovy
Raw Normal View History

2015-02-01 22:27:46 +00:00
/*
2015-02-05 01:56:42 +00:00
* 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.
2015-02-01 22:27:46 +00:00
*/
2015-01-03 14:27:50 +00:00
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.1'
2015-01-03 14:27:50 +00:00
}
}
apply plugin: 'com.android.application'
2015-01-09 16:02:40 +00:00
repositories {
mavenCentral()
2015-02-05 01:56:42 +00:00
flatDir {
dirs 'libs'
}
2015-01-09 16:02:40 +00:00
}
2015-01-03 14:27:50 +00:00
dependencies {
2015-01-09 16:02:40 +00:00
compile 'com.android.support:support-v4:21.0.3'
compile 'com.android.support:appcompat-v7:21.0.3'
2015-02-05 01:56:42 +00:00
2015-02-07 19:56:49 +00:00
compile 'de.hdodenhof:circleimageview:1.2.1'
2015-02-19 00:29:43 +00:00
compile 'com.squareup.wire:wire-runtime:1.6.1'
2015-02-07 19:56:49 +00:00
2015-01-09 16:02:40 +00:00
compile project(':GmsApi')
2015-01-03 14:27:50 +00:00
compile project(':UnifiedNlpLib')
2015-02-05 01:56:42 +00:00
2015-02-06 11:17:48 +00:00
// vtm from ./libs
2015-02-05 01:56:42 +00:00
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'
2015-02-06 11:17:48 +00:00
// Dependencies for vtm
2015-02-05 01:56:42 +00:00
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'
2015-01-03 14:27:50 +00:00
}
android {
2015-01-30 23:33:03 +00:00
compileSdkVersion 21
buildToolsVersion "21.1.2"
2015-01-03 14:27:50 +00:00
lintOptions.abortOnError false
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
2015-02-19 00:29:43 +00:00
java.srcDirs = ['src', 'protos-src']
2015-01-03 14:27:50 +00:00
aidl.srcDirs = ['src']
res.srcDirs = ['res']
2015-01-09 16:02:40 +00:00
assets.srcDirs = ['assets']
2015-01-03 14:27:50 +00:00
}
}
}
if (file('user.gradle').exists()) {
apply from: 'user.gradle'
}