-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
45 lines (39 loc) · 1.25 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
// SDK and tools
minSdk = 21
compileSdk = 34
targetSdk = 34
// Kotlin
kotlinVersion = "1.9.10"
dokkaVersion = "1.9.10"
// Example
versionCode = properties['VERSION_CODE'].toInteger()
versionName = "${properties['VERSION_NAME']}"
// Libraries
exoPlayerVersion = '1.3.1'
analyticsVersion = '3.0.0'
}
}
plugins {
id 'com.android.application' version '8.5.1' apply false
id 'com.android.library' version '8.5.1' apply false
id 'org.jetbrains.kotlin.android' version "$kotlinVersion" apply false
id 'org.jetbrains.dokka' version "$dokkaVersion"
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
tasks.dokkaHtmlMultiModule {
moduleName.set("api.video Android $project.name library")
suppressInheritedMembers.set(true)
pluginsMapConfiguration.set(
["org.jetbrains.dokka.base.DokkaBase": """{
"customAssets" : [
"${file("$rootDir/docs/docs_logo.svg")}",
"${file("$rootDir/docs/logo-icon.svg")}"
]
}"""]
)
}