You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.4 KiB
48 lines
1.4 KiB
4 years ago
|
import org.gradle.api.publish.PublishingExtension
|
||
|
|
||
4 years ago
|
plugins {
|
||
|
id("org.jetbrains.kotlin.multiplatform") version("1.4.32") apply(false)
|
||
|
id("org.jetbrains.compose") version "0.0.0-web-dev-12" apply(false)
|
||
|
}
|
||
4 years ago
|
|
||
|
|
||
4 years ago
|
subprojects {
|
||
4 years ago
|
apply(plugin = "maven-publish")
|
||
4 years ago
|
|
||
4 years ago
|
pluginManager.withPlugin("maven-publish") {
|
||
4 years ago
|
configure<PublishingExtension> {
|
||
4 years ago
|
publications {
|
||
4 years ago
|
create<MavenPublication>("maven") {
|
||
4 years ago
|
groupId = "org.jetbrains.compose.web"
|
||
|
version = System.getenv("COMPOSE_WEB_VERSION")
|
||
|
}
|
||
|
}
|
||
4 years ago
|
|
||
|
repositories {
|
||
4 years ago
|
val COMPOSE_REPO_USERNAME: String? by project
|
||
|
val COMPOSE_REPO_KEY: String? by project
|
||
|
|
||
4 years ago
|
maven {
|
||
4 years ago
|
name = "internal"
|
||
|
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
||
4 years ago
|
credentials {
|
||
4 years ago
|
username = COMPOSE_REPO_USERNAME ?: ""
|
||
|
password = COMPOSE_REPO_KEY ?: ""
|
||
4 years ago
|
}
|
||
|
}
|
||
|
}
|
||
4 years ago
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
repositories {
|
||
|
gradlePluginPortal()
|
||
|
mavenCentral()
|
||
|
maven {
|
||
|
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
||
|
}
|
||
|
maven {
|
||
4 years ago
|
url = uri("https://packages.jetbrains.team/maven/p/ui/dev")
|
||
4 years ago
|
}
|
||
|
}
|
||
|
}
|