File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ allprojects {
162162 configure<BuildConfigExtension > {
163163 packageName = " org.jetbrains.kotlinx.dataframe"
164164 className = " BuildConfig"
165+ buildConfigField(" VERSION" , " ${project.version} " )
165166 }
166167 } catch (_: UnknownDomainObjectException ) {
167168 logger.warn(" Could not set buildConfig on :${this .name} " )
Original file line number Diff line number Diff line change 11package org.jetbrains.kotlinx.dataframe.jupyter
22
3+ import org.jetbrains.kotlinx.dataframe.BuildConfig
34import org.jetbrains.kotlinx.dataframe.io.DisplayConfiguration
45
56public class JupyterConfiguration {
67 public val display: DisplayConfiguration = DisplayConfiguration ()
78
9+ /* * Version of the library. */
10+ public val version: String = BuildConfig .VERSION
11+
812 /* * DSL accessor. */
913 public operator fun invoke (block : JupyterConfiguration .() -> Unit ): JupyterConfiguration = apply (block)
1014}
You can’t perform that action at this time.
0 commit comments