-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle.kts
39 lines (30 loc) · 1.01 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
/*
* Copyright 2020 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
import dev.icerock.gradle.tasks.GenerateMultiplatformResourcesTask
plugins {
id("dev.icerock.moko.gradle.multiplatform.mobile")
id("kotlin-parcelize")
id("dev.icerock.mobile.multiplatform-resources")
id("dev.icerock.moko.gradle.detekt")
id("dev.icerock.moko.gradle.publication")
id("dev.icerock.moko.gradle.stub.javadoc")
}
group = "dev.icerock.moko"
version = libs.versions.mokoErrorsVersion.get()
android {
namespace = "dev.icerock.moko.errors"
}
dependencies {
commonMainImplementation(libs.coroutines)
androidMainImplementation(libs.appCompat)
androidMainImplementation(libs.material)
commonMainImplementation(libs.mokoMvvmCore)
commonMainApi(libs.mokoResources)
}
multiplatformResources {
resourcesPackage.set("dev.icerock.moko.errors")
}
tasks.withType<GenerateMultiplatformResourcesTask>().configureEach {
tasks.getByName("sourcesJar").dependsOn(this)
}