-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathbuild.gradle.kts
39 lines (34 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 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
google()
jcenter()
}
dependencies {
classpath("dev.icerock.moko:resources-generator:0.21.2")
classpath("dev.icerock.moko.widgets:gradle-plugin")
classpath(":widgets-build-logic")
}
}
allprojects {
plugins.withId("org.gradle.maven-publish") {
group = "dev.icerock.moko"
version = libs.versions.mokoWidgetsVersion.get()
}
configurations
.matching { it.name == "compileOnly" }
.configureEach {
dependencies {
// fix of package javax.annotation does not exist import javax.annotation.Generated in DataBinding code
"compileOnly"("javax.annotation:jsr250-api:1.0")
}
}
}
tasks.register("clean", Delete::class).configure {
group = "build"
delete(rootProject.buildDir)
}