Commit graph

57 commits

Author SHA1 Message Date
fa23243ff5 Closes #6
Impletemented Gradle project directory-aware getPropertiesFile() function for all loading/saving.
2019-05-24 09:52:34 -07:00
4efc2ba2d6 Updated the examples. 2019-05-24 01:13:41 -07:00
6081bdfdd5 Added the Gradle project directory as the configuration properties file location. Closes #6 2019-05-24 01:03:30 -07:00
a729d3a87c Ensured only positive int in major, minor and patch. 2019-04-19 00:09:03 -07:00
51fba9b362 Updated copyright. 2019-04-16 11:52:00 -07:00
Ronald van Eede
da087f19db Extended existing tests to include semver property (#5) 2019-04-15 00:29:07 -07:00
27c3657f0f Handle empty input. 2019-04-14 15:47:25 -07:00
b9ead8272e Improvements to the version parsing. 2019-04-14 00:34:11 -07:00
e760e8fb77 Whitepaces cleanup 2019-04-13 04:59:47 -07:00
7c45ed087f Switched to gherkin syntax. 2019-04-13 04:45:50 -07:00
239a952d89 Implemented parsing of semver. 2019-04-13 04:43:40 -07:00
963966eb1c Addded the ability to specify the semver property key. 2019-04-11 10:14:36 -07:00
1b12eba58b Closes #3 2019-04-11 10:13:58 -07:00
Ronald van Eede
e2c01103a7 Include full semver version in version.properties (#4) 2019-04-11 08:03:12 -07:00
ad2a7ae786 Reworked how the version properties file is read/written to better handle command line options, tests, etc. 2019-04-11 07:30:11 -07:00
9985de1e0a Fixed test. 2019-04-10 22:38:34 -07:00
d3ebf2689e Reworked hasEnv to isNotSystemProperty. 2019-04-10 22:28:18 -07:00
8b0108ba96 Added tests for Utils class. 2019-04-10 14:13:13 -07:00
7bf291ac26 Added Utils class. 2019-04-10 14:12:56 -07:00
16d1a06571 Added the ability to specify the version via the command line. 2019-04-10 10:42:39 -07:00
0929d9f5a1 Added copyright. Fixed typos. 2019-04-06 11:48:48 -07:00
f18ac5976f Moved to spek2. 2019-04-06 03:36:49 -07:00
d9da5d5bd0 Added more test. 2019-04-04 10:03:12 -07:00
1227746981 Fixed and added more tests. 2019-04-01 13:23:03 -07:00
fe6503fffc Added name to boolen parameters. 2019-03-31 14:16:05 -07:00
b590486ffd assertEquals instead of assertTrue. 2019-03-31 14:15:35 -07:00
bf1e1494bc Updated copyright. 2019-03-31 10:44:08 -07:00
ada26af81b Updated build metadata description. 2019-03-30 22:46:07 -07:00
2baf69cd32 Added check for required version properties.
Removed savedAfterProjectEvaluate option (no longer needed)
2018-12-20 13:05:51 -08:00
Lewis
53910122f4 Add option for disabling saves every project evaluation
Caveat: If the properties file does not yet exist, this setting is ignored so it can be created
2018-12-19 19:01:55 -05:00
ea643113c4 Updated dependencies. 2018-10-31 20:37:04 -07:00
d1be138400 Version 0.9.8-beta 2018-07-13 23:55:56 -07:00
1bf7b7c86e Fix properties loading on store. 2018-07-13 23:48:02 -07:00
a4e47cef0b Added increment build metadata task. 2018-07-13 15:19:05 -07:00
edae9cc660 Fixed eof newline per klintTestCheck. 2018-07-11 23:03:02 -07:00
281c6388ca Reimplemented SortedProperty with fix for Java > 8. 2018-07-11 22:54:30 -07:00
8007ba395c Added detekt plugin. 2018-07-11 03:42:27 -07:00
e378d47946 Now using reader and writer to access the properties file. 2018-07-11 03:41:37 -07:00
5b8a298a2b Added check for Gradle version. 2018-07-11 03:40:03 -07:00
0c62bba423 Removed sorted properties, not compatbile with Java > 8. 2018-07-10 23:52:26 -07:00
29c6fe9132 Added sorted properties. (Test) 2018-07-10 00:33:25 -07:00
2f96e48186 Added version to info log. 2018-07-07 18:30:22 -07:00
c7d46bfd7a Added more debug info. 2018-07-03 19:23:12 -07:00
964ddf5168 Syntax fix. 2018-07-03 14:01:09 -07:00
53bd8d7476 Added file absolute path to logger.info messages. 2018-07-03 14:00:12 -07:00
989733422d Made cacheable. 2018-07-03 13:58:56 -07:00
a0e3bcd893 Added test to make sure the default properties is version.properties. 2018-07-02 23:52:14 -07:00
642066b7ea Fixed klinkCheck errors. 2018-07-02 23:51:45 -07:00
acbd394d2d Added default constructor to increment task. 2018-07-02 23:10:03 -07:00
877e4bd622 Reformat. 2018-07-01 21:49:54 -07:00