Fix build helpers (#1424)

* Fix relocation of download task

* Fix environment variable typo

* Update build-helpers
This commit is contained in:
Alexey Tsvetkov
2021-11-22 10:09:27 +03:00
committed by GitHub
parent cc83ad1c7d
commit 3cc961ead3
3 changed files with 3 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ fun PublishingExtension.configurePublishing(project: Project) {
credentials {
username =
System.getenv("COMPOSE_INTERNAL_REPO_USERNAME")
?: System.getenv("COMPOSE_REPO_KEY")
?: System.getenv("COMPOSE_REPO_USERNAME")
?: ""
password =
System.getenv("COMPOSE_INTERNAL_REPO_KEY")

View File

@@ -40,6 +40,7 @@ val shadowJar by tasks.registering(ShadowJar::class) {
relocate(fromPackage, toPackage)
archiveClassifier.set("shadow")
configurations = listOf(embeddedDependencies)
from(sourceSets["main"]!!.output)
exclude("META-INF/gradle-plugins/de.undercouch.download.properties")
}

View File

@@ -6,7 +6,7 @@ pluginManagement {
maven("https://maven.pkg.jetbrains.space/public/p/space/maven")
}
dependencies {
classpath("org.jetbrains.compose.internal.build-helpers:publishing:0.1.3")
classpath("org.jetbrains.compose.internal.build-helpers:publishing:0.1.4")
}
}
}