This repository has been archived by the owner on May 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
57 lines (53 loc) · 1.99 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
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id("com.android.application").apply(false)
id("com.android.library").apply(false)
kotlin("android").apply(false)
id("org.jetbrains.compose") version Versions.compose_jb apply false
id("com.vanniktech.maven.publish") version "0.24.0" apply false
}
allprojects {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs = freeCompilerArgs + listOf(
"-Xcontext-receivers",
"-Xskip-prerelease-check",
)
}
}
group = "io.github.qdsfdhvh"
version = "1.0.9"
plugins.withId("com.vanniktech.maven.publish.base") {
@Suppress("UnstableApiUsage")
configure<MavenPublishBaseExtension> {
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
signAllPublications()
pom {
description.set("Compose Material3.")
name.set(project.name)
url.set("https://github.com/qdsfdhvh/compose-material3")
licenses {
license {
name.set("MIT")
url.set("https://opensource.org/licenses/MIT")
distribution.set("repo")
}
}
developers {
developer {
id.set("Seiko")
name.set("SeikoDes")
email.set("seiko_des@outlook.com")
}
}
scm {
url.set("https://github.com/qdsfdhvh/compose-material3")
connection.set("scm:git:git://github.com/qdsfdhvh/compose-material3.git")
developerConnection.set("scm:git:git://github.com/qdsfdhvh/compose-material3.git")
}
}
}
}
}