update versions
This commit is contained in:
parent
25b9a3c3cc
commit
40664db80d
@ -1,3 +1,5 @@
|
|||||||
|
import space.kscience.gradle.*
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("space.kscience.gradle.project")
|
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 {
|
ksciencePublish {
|
||||||
github("SciProgCentre", "snark")
|
pom("https://github.com/SciProgCentre/snark") {
|
||||||
space("https://maven.pkg.jetbrains.space/mipt-npm/p/sci/maven")
|
useApache2Licence()
|
||||||
|
useSPCTeam()
|
||||||
|
}
|
||||||
|
repository("spc","https://maven.sciprog.center/kscience")
|
||||||
// sonatype()
|
// sonatype()
|
||||||
}
|
}
|
@ -1,3 +1,3 @@
|
|||||||
kotlin.code.style=official
|
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
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
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
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
@ -29,11 +29,13 @@ public class SnarkGradlePlugin : Plugin<Project> {
|
|||||||
|
|
||||||
plugins.withId("org.jetbrains.kotlin.jvm") {
|
plugins.withId("org.jetbrains.kotlin.jvm") {
|
||||||
val writeBuildDate = tasks.register("writeBuildDate") {
|
val writeBuildDate = tasks.register("writeBuildDate") {
|
||||||
val outputFile = File(project.buildDir, "resources/main/buildDate")
|
val outputFile = project.layout.buildDirectory.file("resources/main/buildDate")
|
||||||
doLast {
|
doLast {
|
||||||
val deployDate = LocalDateTime.now()
|
val deployDate = LocalDateTime.now()
|
||||||
outputFile.parentFile.mkdirs()
|
outputFile.get().asFile.run {
|
||||||
outputFile.writeText(deployDate.toString())
|
parentFile.mkdirs()
|
||||||
|
writeText(deployDate.toString())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
outputs.file(outputFile)
|
outputs.file(outputFile)
|
||||||
outputs.upToDateWhen { false }
|
outputs.upToDateWhen { false }
|
||||||
|
Loading…
Reference in New Issue
Block a user