update versions

This commit is contained in:
Alexander Nozik 2023-11-15 15:52:47 +03:00
parent b8c9bbb99b
commit 484d1d5c82
Signed by: altavir
GPG Key ID: B10A55DCC7B9AEBB
3 changed files with 15 additions and 15 deletions

View File

@ -1,32 +1,32 @@
plugins { plugins {
kotlin("jvm") version "1.4.10" kotlin("jvm") version "1.9.20"
application application
id("com.github.johnrengelman.shadow") version "6.1.0" id("com.github.johnrengelman.shadow") version "8.1.1"
} }
group = "ru.inr.mass" group = "ru.inr.mass"
version = "1.1.0" version = "1.1.1"
description = "Numass trapping simulation" description = "Numass trapping simulation"
application { application {
mainClassName = "ru.inr.mass.trapping.MainKt" mainClass.set("ru.inr.mass.trapping.MainKt")
} }
repositories { repositories {
jcenter() maven("https://repo.kotlin.link")
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
implementation("org.apache.commons:commons-math3:3.6.1") implementation("org.apache.commons:commons-math3:3.6.1")
implementation("org.apache.commons:commons-rng-simple:1.1") implementation("org.apache.commons:commons-rng-simple:1.1")
implementation("kscience.plotlykt:plotlykt-core:0.2.0") implementation("space.kscience:plotlykt-core:0.5.0")
implementation("de.m3y.kformat:kformat:0.7") implementation("de.m3y.kformat:kformat:0.7")
testImplementation("junit:junit:4.12") testImplementation(kotlin("test-junit"))
} }
tasks.compileKotlin { kotlin{
kotlinOptions.jvmTarget = "1.8" jvmToolchain(11)
} }

View File

@ -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-6.7-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

View File

@ -2,11 +2,11 @@ package ru.inr.mass.trapping
import de.m3y.kformat.Table import de.m3y.kformat.Table
import de.m3y.kformat.table import de.m3y.kformat.table
import kscience.plotly.Plotly import space.kscience.plotly.Plotly
import kscience.plotly.layout import space.kscience.plotly.layout
import kscience.plotly.makeFile import space.kscience.plotly.makeFile
import kscience.plotly.models.AxisType import space.kscience.plotly.models.AxisType
import kscience.plotly.scatter import space.kscience.plotly.scatter
infix fun ClosedFloatingPointRange<Double>.step(step: Double): Sequence<Double> = sequence { infix fun ClosedFloatingPointRange<Double>.step(step: Double): Sequence<Double> = sequence {
var current = start var current = start