-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
78 lines (70 loc) · 2.67 KB
/
build.gradle
File metadata and controls
78 lines (70 loc) · 2.67 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
apply plugin: "com.github.ben-manes.versions"
apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: 'maven-publish'
apply plugin: "org.jetbrains.dokka"
buildscript {
ext.buildConfig = [
'minSdk' : 26,
'targetSdk' : 36,
'compileSdk' : 36,
'versionCode' : 3,
'versionName' : '3.0'
]
ext.versions = [
'javaVersion' : 17,
'kotlin' : '2.1.20',
'ktx' : '1.17.0',
'appcompat' : '1.7.1',
'dokka' : '1.9.20',
'junit' : '4.13.2',
'gson' : '2.13.2',
'webkit' : '1.15.0'
]
repositories {
google()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:9.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "org.jetbrains.kotlin:kotlin-serialization:${versions.kotlin}"
classpath "de.mannodermaus.gradle.plugins:android-junit5:2.0.1"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
classpath "org.jlleitschuh.gradle:ktlint-gradle:14.0.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:${versions.kotlin}"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokka}"
}
}
allprojects {
repositories {
google()
mavenLocal()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url "https://dl.cloudsmith.io/public/indooratlas/mvn-public/maven" }
maven { url "https://software.mobile.pendo.io/artifactory/android-release" }
}
}
tasks.register('clean', Delete) {
delete rootProject.layout.buildDirectory
}
ext {
ketch_version = '0.3.' + System.getenv('GITHUB_RUN_NUMBER')
}
dokkaHtmlMultiModule.configure {
// Set module name displayed in the final output
moduleName.set("Ketch SDK")
// Suppress obvious functions like default toString or equals. Defaults to true
suppressObviousFunctions.set(false)
// Suppress all inherited members that were not overridden in a given class.
// Eg. using it you can suppress toString or equals functions but you can't suppress componentN or copy on data class. To do that use with suppressObviousFunctions
// Defaults to false
suppressInheritedMembers.set(true)
}
tasks.register('packageDoc', Zip) {
archiveFileName = "sdk-doc.zip"
destinationDirectory = layout.buildDirectory.dir("doc")
from layout.buildDirectory.dir("dokka/htmlMultiModule/")
}