Add publishing

This commit is contained in:
Alexander Nozik 2022-07-03 16:39:38 +03:00
parent 5e93f982f8
commit 7975a2072e
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357
3 changed files with 5 additions and 3 deletions

View File

@ -21,7 +21,7 @@ application {
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment", "-Xmx200M")
}
val snarkVersion by extra("0.1.0-dev-1")
val snarkVersion: String by extra
val ktorVersion = KScienceVersions.ktorVersion
dependencies {

View File

@ -1,3 +1,4 @@
kotlin.code.style=official
toolsVersion=0.11.7-kotlin-1.7.0
toolsVersion=0.11.7-kotlin-1.7.0
snarkVersion=0.1.0-dev-1

View File

@ -6,6 +6,7 @@ enableFeaturePreview("VERSION_CATALOGS")
pluginManagement {
val toolsVersion: String by extra
val snarkVersion: String by extra
repositories {
maven("https://repo.kotlin.link")
@ -18,7 +19,7 @@ pluginManagement {
id("ru.mipt.npm.gradle.mpp") version toolsVersion
id("ru.mipt.npm.gradle.jvm") version toolsVersion
id("ru.mipt.npm.gradle.js") version toolsVersion
id("space.kscience.snark") version "0.1.0-dev-1"
id("space.kscience.snark") version snarkVersion
}
}