GradleMongoPlugin
GradleMongoPlugin copied to clipboard
Gradle plugin for running a managed instance of Mongo.
Hi, this PR updates the plugin to use de.flapdoodle.embed.mongo 4.4.0. Which should enable the usage of mongodb 6 (not tested) and recent operating system like Linux Mint 21.1. I think...
Please maintain or delete the `CHANGELOG.md` file. I don't mind having to look at the commits between tags to identify notable changes but having a file that is named changelog...
This pull request adds documentation about using the plugin in Kotlin based Gradle (`build.gradle.kts`) file which is slightly different from the normal Groovy based one.
As per the documentation this port will be available in project.mongo.port. how can I access this "project.mongo.port " in Java classes ? https://stackoverflow.com/questions/63138826/how-can-i-set-property-in-build-gradle-file-to-access-that-property-in-java
``` > Task :net:test FAILED Downloading Mongo 3.6 distribution... FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':net:test'. > prepare executable ```
When using a set port or random one, `project.mongo.port` is always 27017. This is the `build.gradle` I'm using: ```groovy plugins { id 'java' id 'application' id 'com.sourcemuse.mongo' version '1.0.7' }...
This plugin works great except that at shutdown, a rather ugly stacktrace is generated: ``` Exception in thread "Thread-30" Exception in thread "Thread-58" Exception in thread "Thread-46" java.lang.NoClassDefFoundError: de/flapdoodle/embed/process/extract/ExtractedFileSets at...
Not really an issue, just wondering if there's an easy way to provision the Mongo instance with test data?