forked from logukavin/libatsc3-middleware-sample-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·98 lines (83 loc) · 2.84 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
//jjustman-2023-06-10 - update to 1.6.21
//jjustman-2023-06-10 - todo: update to 1.8.22?
ext.kotlin_version = '1.6.21'
ext.dokka_version = '1.4.32'
repositories {
google()
if (project.getProperty('org.gradle.project.use_local_src_exoplayer_folder').toBoolean()) {
jcenter()
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
classpath 'com.google.firebase:perf-plugin:1.4.1' // Performance Monitoring plugin
classpath 'de.mobilej.unmock:UnMockPlugin:0.7.6'
classpath("org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
//jjustman-2023-05-24 - disable maven-settings plugin for gradle build cache
//id "net.linguica.maven-settings" version "0.5"
id "org.jetbrains.dokka" version "${dokka_version}"
}
allprojects {
repositories {
flatDir {
dirs 'libs'
}
google()
if (project.getProperty('org.gradle.project.use_local_src_exoplayer_folder').toBoolean()) {
jcenter()
}
if (!project.getProperty('org.gradle.project.use_local_src_libatsc3_folder').toBoolean()) {
mavenCentral()
//
// maven {
// url 'https://pkgs.dev.azure.com/NGWP/Middleware/_packaging/middleware/maven/v1'
// name 'middleware'
// authentication {
// basic(BasicAuthentication)
// }
// }
} else {
mavenCentral()
}
maven {
url "https://jitpack.io"
}
}
}
subprojects {
//jjustman-2023-05-24 - disable maven-settings plugin for gradle build cache
// apply plugin: 'net.linguica.maven-settings'
apply plugin: 'org.jetbrains.dokka'
}
task clean(type: Delete) {
delete rootProject.buildDir
}
/* jjustman-2021-06-01 - generate top-level docs for sample app and modules */
tasks.dokkaHtmlMultiModule.configure {
outputDirectory.set(new File(buildDir.getPath() + "/dokka"))
}
ext {
// minSdkVersion = 28
minSdkVersion = 26
compileSdkVersion = 31
targetSdkVersion = 30
buildToolsVersion = "30.0.3"
coreKtxVersion = '1.6.0'
daggerVersion = '2.28.1'
lifecycleVersion = '2.3.1'
libatsc3Version = "1.2.15"
exoplayerVersion = "2.11.8.6"
coroutinesVersion = "1.4.1"
startupRuntime = '1.1.0'
ndkVersion = '24.0.8215888'
}