-
Notifications
You must be signed in to change notification settings - Fork 95
/
build.gradle.kts
52 lines (43 loc) · 1.16 KB
/
build.gradle.kts
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
/*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
import org.jetbrains.dokka.gradle.DokkaTaskPartial
buildscript {
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
dependencies {
classpath(":mvvm-build-logic")
classpath(libs.kswiftGradlePlugin)
classpath(libs.composeJetBrainsGradlePlugin)
classpath(libs.dokkaGradlePlugin)
}
}
plugins {
alias(libs.plugins.nexusPublish)
}
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
username.set(System.getenv("OSSRH_USER"))
password.set(System.getenv("OSSRH_KEY"))
}
}
}
val mokoVersion = libs.versions.mokoMvvmVersion.get()
allprojects {
group = "dev.icerock.moko"
version = mokoVersion
configurations.configureEach {
resolutionStrategy {
force(rootProject.libs.coroutines)
}
}
apply(plugin = "org.jetbrains.dokka")
tasks.withType<DokkaTaskPartial>().configureEach {
this.enabled = name.startsWith("mvvm-")
}
}