-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
48 lines (40 loc) · 1.13 KB
/
build.gradle.kts
File metadata and controls
48 lines (40 loc) · 1.13 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
plugins {
id("org.jetbrains.dokka") version "2.0.0"
id("org.jetbrains.kotlin.plugin.serialization") version "2.2.20"
}
buildscript {
val kotlinVersion = "2.2.20"
extra.apply {
set("kotlinVersion", kotlinVersion)
}
repositories {
google()
mavenCentral()
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
if (System.getenv("PORTALS_PUBLISH") == "true") {
classpath("io.github.gradle-nexus:publish-plugin:1.1.0")
}
classpath("com.android.tools.build:gradle:8.13.0")
classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}
if (System.getenv("PORTALS_PUBLISH") == "true") {
apply(plugin = "io.github.gradle-nexus.publish-plugin")
apply(from = file("./IonicPortals/scripts/publish-root.gradle"))
}
allprojects {
repositories {
google()
mavenCentral()
}
apply(plugin = "org.jetbrains.dokka")
}
// register Clean task
tasks.register("clean").configure {
delete("build")
}