Skip to content

Update Gradle Build to work standalone with Miniforge#2

Open
stephen-rma wants to merge 2 commits intoDOI-BOR:mainfrom
stephen-rma:gradle-build-updates
Open

Update Gradle Build to work standalone with Miniforge#2
stephen-rma wants to merge 2 commits intoDOI-BOR:mainfrom
stephen-rma:gradle-build-updates

Conversation

@stephen-rma
Copy link

This updates the Gradle build so it can run standalone, run the entire build process, and follows modern Gradle standards.

This isolates the sourcecode from build files like the environment.yml. As the build will be using Gradle to link in with the rest of WTMP's build process, use the standard Gradle src/main/[language] format (src/main/python).
This updates the Gradle build to work standalone, as well as following modern Gradle standards.

This build
- Downloads Miniforge
- Creates a local environment (in the build directory)
- Installs the deps from environment.yml
- Runs PyInstaller on the Python source
- Zips up the executable

It is capable of publishing this zip once publishing information is added to the relevant conventions file.
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.

1 participant