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.
44 lines
1.2 KiB
44 lines
1.2 KiB
import org.gradle.api.publish.PublishingExtension |
|
|
|
plugins { |
|
id("org.jetbrains.kotlin.multiplatform") version("1.4.32") apply(false) |
|
} |
|
|
|
val COMPOSE_WEB_VERSION: String by project |
|
|
|
subprojects { |
|
apply(plugin = "maven-publish") |
|
|
|
group = "org.jetbrains.compose.web" |
|
version = COMPOSE_WEB_VERSION |
|
|
|
pluginManager.withPlugin("maven-publish") { |
|
configure<PublishingExtension> { |
|
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") |
|
} |
|
} |
|
} |
|
|
|
|