-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
55 lines (47 loc) · 1.77 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
// v1.1.5 (101005) parse http(s) urls of maps.google.com, Openstreetmap and other mapproviders
// v1.1.7 (101007)
// v1.1.8 (101008) fix npe
// v1.1.9 (101009) Support for fuzzy geo uri-s (without lat/lon but with Search expression)
// 2021.07.14 v1.1.10 (101010) Bugfix: "geo:0,0?q=Testgasse 13, 12345 Testhausen" resulted in geo:13,12345
// 2021.12.29 v1.1.11 (101011) Fixed link to license file
// 2023.03.17 v1.1.12 (101012) Support for www.wikidata.org results
PUBLISH_VERSION = 'v1.1.12-SNAPSHOT' // SNAPSHOT means latest version in github branch "master"
ANDROID_VERSIONCODE = 101012
PUBLISH_GROUP_ID = 'com.github.k3b'
SOURCES = 'github.com/k3b/k3b-geoHelper'
LICENSE_TYP = 'The Apache License, Version 2.0'
}
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
// markdown in javadoc
// https://github.com/Abnaxos/pegdown-doclet
classpath 'ch.raffael.pegdown-doclet:pegdown-doclet:1.3'
}
}
allprojects {
repositories {
google()
mavenCentral()
// maven { url "https://jitpack.io" } //
}
// https://stackoverflow.com/questions/28450703/how-to-set-the-language-level-in-gradle-so-it-is-ide-agnostic/35827609#35827609
tasks.withType(JavaCompile) {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
}
task clean {
description = "Delete the build directories."
dependsOn { subprojects.clean }
}
// markdown in javadoc
// https://github.com/Abnaxos/pegdown-doclet
apply plugin: 'ch.raffael.pegdown-doclet'
apply from: "${rootDir}/publish-root.gradle"