Closed irstevenson closed 6 years ago
Heya @valentingoebel ,
I've pretty well tested this, but if you could give it a quick sanity check that'd be great. If not, I'll go ahead and merge in the next day or two. ;)
Cheers.
I can confirm that the jar file no longer contains the test classes. The grails uml plugin also no longer shows the domain classes.
Needed to use the new configuration and exclusion idiom to ensure that the three test domain classes are not in the distributed JAR. This involves an exclusion
SpringSecuritySamlGrailsPlugin
to ensure noresource
entries in thegrails-plugin.xml
; and then also ajar
block to exclude the classes from the final JAR.Testing
After doing a
./gradlew jar
and making sure that the classes were not in the JAR and no mentions inMETA-INF/grails-plugin.xml
, I did a./gradlew install
and tested in my test app. All still worked, and on inspecting the schema of a file based H2 instance, confirmed the additional tables were no longer being created.