Gradle Effective Implementations Guide - Second Edition by Hubert Klein Ikkink

Gradle Effective Implementations Guide - Second Edition by Hubert Klein Ikkink

Author:Hubert Klein Ikkink [Ikkink, Hubert Klein]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2016-05-30T04:00:00+00:00


Let's change the contents of the messages.properties file and use a dot instead of an exclamation mark at the end of the line: # File: src/main/resources/gradle/sample/ messages.properties welcome = Welcome to Gradle.

Now we run the test task again from the command line: $ gradle test :compileJava UP-TO-DATE :processResources :classes :compileTestJava :processTestResources UP-TO-DATE :testClasses :test BUILD SUCCESSFUL Total time: 1.174 secs

The Gradle build did not fail this time and is successful. Our test has run and we get the expected result from the getWelcomeMessage() method.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.