Commit Graph

28 Commits

Author SHA1 Message Date
Marcin Grzejszczak
01a4c9a23c Works with JDK16 2021-05-05 13:15:47 +02:00
Shannon Pamperl
7804933b21 Attempt to keep Kotlin totally off the classpath (#1558)
* Attempt to keep Kotlin totally off the classpath

* Add version header for new class

* Fix a few bugs with the samples and provide better debugging output for javaexec

* Use main consistently

* Fix Gradle's published pom and use maven-publish plugin consistently throughout plugin and samples

* Re-add groovydoc jar

* Have assemble create the groovydoc jar

* Switch to publishToMavenLocal

* Sync dependencies with pom.xml and fix null provider for Gradle versions less than 6.2

* Perform quoting conditionally for Windows only

* Add jsch, aether, and shaded libraries to round out compatibility

* Ensure contract tests are generated before kotlin compile task
2020-12-03 10:24:55 +01:00
Shannon Pamperl
9df4da4ef5 Skip tasks when input directory is empty (#1530) 2020-10-17 07:36:20 +02:00
Shannon Pamperl
e91b91efba Convert Gradle plugin from Groovy to Java (#1480)
* Migrate ContractsCopyTask from Groovy to Java

* Convert code to Java

* Refactor ContractsCopyTask

* Migrate GenerateClientStubsFromDslTask from Groovy to Java.

* Refactor GenerateClientStubsFromDslTask

* Clean up configuration of stubsJar

* Migrate GenerateServerTestsTask from Groovy to Java

* Refactor GenerateServerTestsTask

* Migrate PublishStubsToScmTask from Groovy to Java

* Refactor PublishStubsToScmTask

* Remove dead code

* Add additional test to ensure merged contract repository settings works the same as it did before. Add .get() calls to trigger task configuration otherwise, we can miss errors with task configuration.

* Fixup all visibility modifiers and drop any deprecated functionality

* Migrate plugin from Groovy to Java

* Refactor plugin from Groovy to Java

* Fixup project.version where it might not be correctly available yet

* Fix tests that were broken

* Fix functional testing that was failing

* Update functional tests to ensure that up-to-date checks are running as expected

* Added comment around deleteStubsAfterTest in each of the tasks where it is used, to remind editors what the property is for.

* Enable support for build cache

* Reconcile documentation with code

* Remove TODO that has been answered

* Add documentation on how to customize the verifierStubsJar

* Fix failing test

* Allow contractsDirectory to be null

* Fix failing tests

* Move all main source code to java source set
2020-10-02 17:39:53 +02:00
Marcin Grzejszczak
eeb2d87c14 made junit5 default test generation framework (#1320)
fixes #1249
2020-02-07 13:43:30 +01:00
Marcin Grzejszczak
9e02b7c902 Updated Copyrights 2020-01-28 20:00:13 +01:00
Marcin Grzejszczak
ed72a88229 Fixed gradle setup 2019-10-04 15:45:41 +02:00
Marcin Grzejszczak
48ecf30f65 Updated docs with the new plugins api for Gradle
fixes gh-1217
2019-09-26 12:18:58 +02:00
Marcin Grzejszczak
42a2d1dfb1 Bumped Boot in gradle samples 2019-04-16 08:41:10 +04:00
Marcin Grzejszczak
4da781b214 HTTP to HTTPS 2019-03-07 13:50:15 +01:00
Marcin Grzejszczak
281bd653ae Bumped Boot to 2.1.2.RELEASE 2019-01-21 13:34:49 +01:00
Marcin Grzejszczak
9c7c896115 Assert size of collections on the request side; fixes gh-824 2018-12-20 14:53:38 +01:00
Marcin Grzejszczak
928b32ecce BUmped boot 2018-12-15 09:19:35 +01:00
Marcin Grzejszczak
1b1d4049d4 Bumped
- cglib to 3.2.9
- commons-text to 1.6
- handlebars to 4.1.2
- jgit to 5.1.3.201810200350-r
- gmaven to 1.6.2
- boot to 2.1.0
- aether to 1.1.0
2018-11-06 17:06:43 +01:00
Marcin Grzejszczak
57bafa6f68 Set boot to RC1 2018-10-25 14:03:30 +02:00
Olga Maciaszek-Sharma
dbf1b660de Add failIfNoTests to samples' build setup. 2018-10-19 13:50:05 +02:00
Marcin Grzejszczak
50d62b6ee8 Using boot snaps for samples 2018-10-16 14:55:24 +02:00
Marcin Grzejszczak
27652ade37 Bumped Gradle and Boot 2018-10-03 14:48:09 +02:00
Olga Maciaszek-Sharma
034b38f565 Upgrade boot to 2.1.0.M3. 2018-09-13 16:57:49 +02:00
Marcin Grzejszczak
096790e04d Upgraded to Greenwhich 2018-08-29 14:04:28 +02:00
Marcin Grzejszczak
43d076f466 Bumped boot to 2.0.1.R 2018-04-06 15:54:10 +02:00
Marcin Grzejszczak
6402e14f3c Added support for Stub Runner and Pact Broker
fixes gh-191
commit 533f1d3d0e8f6dcd37677bfef555fc2ea86bc1b1
Author: Tim Ysewyn <Tim.Ysewyn@me.com>
Date:   Wed Mar 7 15:56:48 2018 +0100

    Upgraded pact-jvm-model to 3.5.13
2018-04-02 22:50:40 +02:00
Marcin Grzejszczak
4c627f8e61 Revert "Bumped the Boot plugin to RC1"
This reverts commit e0bda0f8aa.
2018-02-11 22:29:53 +01:00
Marcin Grzejszczak
e0bda0f8aa Bumped the Boot plugin to RC1 2018-02-10 08:54:23 +01:00
Dave Syer
ffd82662b7 Fix dependencies in Gradle for standalone tests 2018-01-23 16:51:16 +00:00
Marcin Grzejszczak
ade0b65720 Fixed some tests and broken dependencies 2018-01-20 00:28:32 +01:00
Marcin Grzejszczak
e0db3c058a Going to Boot snapshots 2018-01-19 10:17:51 +01:00
Dave Syer
92848125b9 Draft support for WebTestClient (#514)
* Draft support for WebTestClient
* Share some common code between MockMvc and WebTestClient
* Fix co-ordinates of server stubs
* Fix project names in Gradle
2018-01-12 15:12:31 +01:00