Enable on-push Space publishing for dev branch #167
25
.space.kts
25
.space.kts
@ -1,3 +1,26 @@
|
||||
job("Build") {
|
||||
job("Publish") {
|
||||
startOn {
|
||||
gitPush {
|
||||
branchFilter {
|
||||
+"dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gradlew("openjdk:11", "publish") {
|
||||
env["SPACE_USER"] = Secrets("space_user")
|
||||
env["SPACE_TOKEN"] = Secrets("space_token")
|
||||
}
|
||||
}
|
||||
|
||||
job("Build"){
|
||||
startOn {
|
||||
gitPush {
|
||||
branchFilter {
|
||||
-"dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gradlew("openjdk:11", "build")
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ import ru.mipt.npm.gradle.KSciencePublishPlugin
|
||||
|
||||
plugins {
|
||||
id("ru.mipt.npm.project")
|
||||
id("ru.mipt.npm.publish") apply false
|
||||
}
|
||||
|
||||
internal val kmathVersion: String by extra("0.2.0-dev-4")
|
||||
@ -38,3 +39,9 @@ readme {
|
||||
apiValidation {
|
||||
validationDisabled = true
|
||||
}
|
||||
|
||||
ksciencePublish {
|
||||
spaceRepo = "https://maven.pkg.jetbrains.space/mipt-npm/p/sci/maven"
|
||||
spaceUser = System.getenv("SPACE_USER")
|
||||
spaceToken = System.getenv("SPACE_TOKEN")
|
||||
}
|
||||
|
@ -1,9 +1,8 @@
|
||||
kotlin.code.style=official
|
||||
kotlin.parallel.tasks.in.project=true
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.stability.nowarn=true
|
||||
|
||||
kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.parallel.tasks.in.project=true
|
||||
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
|
||||
org.gradle.parallel=true
|
||||
systemProp.org.gradle.internal.publish.checksums.insecure=true
|
||||
systemProp.org.gradle.internal.publish.checksums.insecure=true
|
||||
|
Loading…
Reference in New Issue
Block a user