-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.gradle.kts
65 lines (50 loc) · 2.12 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
53
54
55
56
57
58
59
60
61
62
63
64
65
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.org.jetbrains.kotlin.multiplatform) apply false
alias(libs.plugins.com.android.application) apply false
alias(libs.plugins.com.android.library) apply false
alias(libs.plugins.org.jetbrains.compose) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.com.vanniktech.maven.publish) apply false
}
allprojects {
group = project.property("GROUP") as String
version = project.property("VERSION_NAME") as String
afterEvaluate {
extensions.findByType<PublishingExtension>()?.apply {
publications.withType<MavenPublication>().configureEach {
pom {
name.set("Kamel")
description.set("Kotlin Asynchronous Media Loading Library that supports Compose")
url.set("https://github.com/Kamel-Media/Kamel")
licenses {
license {
name.set("The Apache Software License, Version 2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
distribution.set("repo")
}
}
developers {
developer {
id.set("alialbaali")
name.set("Ali Albaali")
}
developer {
id.set("luca992")
name.set("Luca Spinazzola")
}
}
scm {
connection.set("scm:git:github.com/Kamel-Media/Kamel.git")
developerConnection.set("scm:git:ssh://github.com/Kamel-Media/Kamel.git")
url.set("https://github.com/Kamel-Media/Kamel/tree/main")
}
}
}
}
}
tasks.withType<KotlinCompile> {
compilerOptions.jvmTarget = JvmTarget.JVM_1_8
}
}