Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use gradle variables in kernel source #37

Merged
merged 4 commits into from
Dec 26, 2019

Conversation

ileasile
Copy link
Contributor

  • Added possibility of using properties from Gradle in source code
  • Fixed implementation version

@ileasile ileasile requested a review from nikitinas December 25, 2019 12:33
@ileasile ileasile force-pushed the access_build_version_from_src branch from a11b840 to 655d884 Compare December 25, 2019 12:53
@ileasile ileasile force-pushed the access_build_version_from_src branch from e97eb69 to 16f536f Compare December 26, 2019 09:48
@@ -38,7 +38,8 @@ class ReplCompilerException(val errorResult: ReplCompileResult.Error) : ReplExce
}

class ReplForJupyter(val scriptClasspath: List<File> = emptyList(),
val config: ResolverConfig? = null) {
val config: ResolverConfig? = null,
val properties: RuntimeKernelProperties = RuntimeKernelProperties()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does ReplForJupyter need RuntimeKernelProperties? They are not used within it

Copy link
Contributor

@nikitinas nikitinas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me looks overdesigned. I'd make runtime properties just a lazy static field as soon as they doesn't have any dependencies

@nikitinas nikitinas merged commit 0815307 into master Dec 26, 2019
@nikitinas nikitinas deleted the access_build_version_from_src branch December 26, 2019 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants