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

Fix #335: Get --package working with Gradle 7 by replacing the capsule plugin #370

Merged
merged 8 commits into from
Jul 1, 2022

Conversation

vsajip
Copy link
Contributor

@vsajip vsajip commented Jun 21, 2022

This has now been merged with the kscript_4.1 branch.

@aartiPl
Copy link
Collaborator

aartiPl commented Jun 22, 2022

Great job - thanks again!

Are you able to still work on tests, cache, and a message with the location of the created package? Please let me know.

If you can:

  • Cache should check not only for a directory but also for the existence of the package file itself. That will cover cases where build of the package has failed.
  • The message with location of the package should be printed nevertheless if it comes from build or from cache
  • Tests should be adjusted, so that they are using previously printed package location to do the checks.

@vsajip
Copy link
Contributor Author

vsajip commented Jun 22, 2022

Time is getting a little tight now, so I'm not sure when I can get to it. (Feel free to add to the PR yourself.) Thanks for all the feedback.

@aartiPl
Copy link
Collaborator

aartiPl commented Jun 22, 2022

Okay - I understand: life 😀

I will leave this PR open for about 2 weeks. If you have some spare time, you are welcome to continue working on PR. If anyone else wants to work on it - please add a comment here. Otherwise, I will merge the PR into the 4.1 branch and fix the remaining issues later.

@aartiPl aartiPl merged commit 715bc75 into kscripting:kscript_4.1 Jul 1, 2022
aartiPl added a commit that referenced this pull request Aug 26, 2022
* Cleanup of env variables
* Fixed indentation and generation of Gradle files for IntelliJ
* Re-enabled idea tests
* Improved runConfiguration
* Support for idea project creation: correct handling for duplicated file names.
* IntelliJ support fixed
* Formatting of wrapper for scripts.
* Fix for OsType comparison logic (#357)
* build: installation tester
* build: update installer.yml
* build: added ability to start GitHub action build manually.
* bugfix: fix for OSTYPE linux-musl which is reported on Alpine Linux.
* make KOTLIN_HOME required
* feature: osHandler for operations outside of Java ecosystem
* feature: added nicer debug information
* refactor: split of config to smaller pieces
* test: split building and cleaning (faster builds for most cases)
* cleanup: overall cleanups
* feature: Migrated kscript to os independent paths (OsPath)
* feature: KScript seems to work on a plain Windows console.
* Fix #335: Get --package working with Gradle 7 by replacing the capsule plugin (#370)
* Fix #335: Remove the need for the  Gradle capsule plugin.
* Additional fixes for packaging (better cache support)
* Improved Templates.kt
* Added Kotlin integration tests for packaging and simple tests
* Added suites for different OSes
* Renamed MAC to MACOS constant.
* Fixed error in StreamGobbler in ProcessRunner
* Added empty source case handling
* Better implementation of OsPath.leaf and OsPath.root
* Added integration tests
* Improved testing tools (matchers)
* Cleanup, bug fixes and small improvements.
* Removed old test suite in bash
* Updated TestsReadme.md
* Replace .kscript dir with OS-specific dirs (#323) (#374)
* Refactoring to allow deprecation.
* Deprecation of old features (annotations based on comments)
* Deprecation report
* Updated doc.

Co-authored-by: holgerbrandl@gmail.com <holgerbrandl@users.noreply.github.com>
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Co-authored-by: meztihn <6940823+meztihn@users.noreply.github.com
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