-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·82 lines (70 loc) · 1.86 KB
/
build.gradle
File metadata and controls
executable file
·82 lines (70 loc) · 1.86 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
if (project.hasProperty("xmake")) {
repositories {
maven {
url commonRepoURL
}
}
} else {
repositories {
mavenCentral()
google()
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath "org.ajoberstar:grgit:2.3.0"
}
}
plugins {
id 'org.ajoberstar.grgit' version '2.3.0'
}
allprojects {
if (project.hasProperty("xmake")) {
repositories {
maven {
url commonRepoURL
}
}
} else {
repositories {
mavenCentral()
google()
}
}
version = "1.0.0-SNAPSHOT"
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
options.encoding = "UTF-8"
}
defaultTasks "clean", "assemble"
}
// dependency versions for all sub modules
ext {
// regular
buildTools = "30.0.3"
compileSdk = 33
minSdk = 16
targetSdk = 35
sourceCompatibilityVersion = JavaVersion.VERSION_1_8
targetCompatibilityVersion = JavaVersion.VERSION_1_8
support = "27.1.1"
play_services = "12.0.1"
license_dialog = "1.8.0"
// testing - jvm
junit = "4.12"
mockito = "5.8.0"
// testing - ui
test = "0.2"
espresso = "2.1"
isXmakeBuild = project.hasProperty("xmake")
isReleaseBuild = Boolean.parseBoolean(System.env.XMAKE_RELEASE_BUILD)
destinationFolder = project.rootDir.absolutePath + "/java/com.sap.sailing.www/apps/"
}
if (project.hasProperty("xmake")) {
wrapper {
distributionUrl "${sapGradleDistBaseUrl}/${sapGradleVersion}/gradle-${sapGradleVersion}-all.zip"
}
}