update versions

This commit is contained in:
Alexander Nozik 2023-11-04 12:59:06 +03:00
parent 25b9a3c3cc
commit 40664db80d
4 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,5 @@
import space.kscience.gradle.*
plugins {
id("space.kscience.gradle.project")
}
@ -12,10 +14,13 @@ allprojects {
}
}
val dataforgeVersion by extra("0.6.1-dev-6")
val dataforgeVersion by extra("0.6.2")
ksciencePublish {
github("SciProgCentre", "snark")
space("https://maven.pkg.jetbrains.space/mipt-npm/p/sci/maven")
pom("https://github.com/SciProgCentre/snark") {
useApache2Licence()
useSPCTeam()
}
repository("spc","https://maven.sciprog.center/kscience")
// sonatype()
}

View File

@ -1,3 +1,3 @@
kotlin.code.style=official
toolsVersion=0.14.9-kotlin-1.8.20
toolsVersion=0.15.0-kotlin-1.9.20

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -29,11 +29,13 @@ public class SnarkGradlePlugin : Plugin<Project> {
plugins.withId("org.jetbrains.kotlin.jvm") {
val writeBuildDate = tasks.register("writeBuildDate") {
val outputFile = File(project.buildDir, "resources/main/buildDate")
val outputFile = project.layout.buildDirectory.file("resources/main/buildDate")
doLast {
val deployDate = LocalDateTime.now()
outputFile.parentFile.mkdirs()
outputFile.writeText(deployDate.toString())
outputFile.get().asFile.run {
parentFile.mkdirs()
writeText(deployDate.toString())
}
}
outputs.file(outputFile)
outputs.upToDateWhen { false }