update versions
This commit is contained in:
parent
25b9a3c3cc
commit
40664db80d
@ -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()
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
kotlin.code.style=official
|
||||
|
||||
toolsVersion=0.14.9-kotlin-1.8.20
|
||||
toolsVersion=0.15.0-kotlin-1.9.20
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -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
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user