Merge pull request #62 from mipt-npm/dev
Publishing settings
This commit is contained in:
commit
b86c6141cd
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -42,6 +42,7 @@ jobs:
|
|||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: >
|
run: >
|
||||||
./gradlew release --no-daemon
|
./gradlew release --no-daemon
|
||||||
|
-Ppublishing.enabled=true
|
||||||
-Ppublishing.github.user=${{ secrets.PUBLISHING_GITHUB_USER }}
|
-Ppublishing.github.user=${{ secrets.PUBLISHING_GITHUB_USER }}
|
||||||
-Ppublishing.github.token=${{ secrets.PUBLISHING_GITHUB_TOKEN }}
|
-Ppublishing.github.token=${{ secrets.PUBLISHING_GITHUB_TOKEN }}
|
||||||
-Ppublishing.space.user=${{ secrets.PUBLISHING_SPACE_USER }}
|
-Ppublishing.space.user=${{ secrets.PUBLISHING_SPACE_USER }}
|
||||||
@ -50,7 +51,8 @@ jobs:
|
|||||||
if: matrix.os == 'macOS-latest'
|
if: matrix.os == 'macOS-latest'
|
||||||
run: >
|
run: >
|
||||||
./gradlew release --no-daemon
|
./gradlew release --no-daemon
|
||||||
-Ppublication.platform=macosX64
|
-Ppublishing.enabled=true
|
||||||
|
-Ppublishing.platform=macosX64
|
||||||
-Ppublishing.github.user=${{ secrets.PUBLISHING_GITHUB_USER }}
|
-Ppublishing.github.user=${{ secrets.PUBLISHING_GITHUB_USER }}
|
||||||
-Ppublishing.github.token=${{ secrets.PUBLISHING_GITHUB_TOKEN }}
|
-Ppublishing.github.token=${{ secrets.PUBLISHING_GITHUB_TOKEN }}
|
||||||
-Ppublishing.space.user=${{ secrets.PUBLISHING_SPACE_USER }}
|
-Ppublishing.space.user=${{ secrets.PUBLISHING_SPACE_USER }}
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
maven("https://repo.kotlin.link")
|
maven("https://repo.kotlin.link")
|
||||||
|
mavenCentral()
|
||||||
jcenter()
|
jcenter()
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||||
}
|
}
|
||||||
|
|
||||||
val toolsVersion = "0.9.0"
|
val toolsVersion = "0.9.1"
|
||||||
val kotlinVersion = "1.4.31"
|
val kotlinVersion = "1.4.31"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
@ -14,7 +15,6 @@ pluginManagement {
|
|||||||
id("ru.mipt.npm.gradle.mpp") version toolsVersion
|
id("ru.mipt.npm.gradle.mpp") version toolsVersion
|
||||||
id("ru.mipt.npm.gradle.jvm") version toolsVersion
|
id("ru.mipt.npm.gradle.jvm") version toolsVersion
|
||||||
id("ru.mipt.npm.gradle.js") version toolsVersion
|
id("ru.mipt.npm.gradle.js") version toolsVersion
|
||||||
id("ru.mipt.npm.gradle.publish") version toolsVersion
|
|
||||||
kotlin("jvm") version kotlinVersion
|
kotlin("jvm") version kotlinVersion
|
||||||
kotlin("js") version kotlinVersion
|
kotlin("js") version kotlinVersion
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user