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

import org.gradle.api.publish.PublishingExtension
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)
}
subprojects {
apply(plugin = "maven-publish")
pluginManager.withPlugin("maven-publish") {
configure<PublishingExtension> {
publications {
create<MavenPublication>("maven") {
groupId = "org.jetbrains.compose.web"
version = System.getenv("COMPOSE_WEB_VERSION")
}
}
repositories {
val COMPOSE_REPO_USERNAME: String? by project
val COMPOSE_REPO_KEY: String? by project
maven {
name = "internal"
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
credentials {
username = COMPOSE_REPO_USERNAME ?: ""
password = COMPOSE_REPO_KEY ?: ""
}
}
}
}
}
repositories {
gradlePluginPortal()
mavenCentral()
maven {
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
maven {
url = uri("https://packages.jetbrains.team/maven/p/ui/dev")
}
}
}