From 7975a2072ea81d13b847dbca5a61ab223f399807 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Sun, 3 Jul 2022 16:39:38 +0300 Subject: [PATCH] Add publishing --- build.gradle.kts | 2 +- gradle.properties | 3 ++- settings.gradle.kts | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index b9d5b2d..43da64a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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 { diff --git a/gradle.properties b/gradle.properties index e2e0fd8..26b15c8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,4 @@ kotlin.code.style=official -toolsVersion=0.11.7-kotlin-1.7.0 \ No newline at end of file +toolsVersion=0.11.7-kotlin-1.7.0 +snarkVersion=0.1.0-dev-1 \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 285a551..ea2d6ee 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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 } }