Files
spring-cloud-contract/samples/standalone/webclient/http-server
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
..
2019-03-22 11:41:20 +01:00
2020-04-02 08:24:15 +02:00
2020-04-02 08:24:15 +02:00
2019-03-22 11:41:20 +01:00
2019-03-22 11:41:20 +01:00
2020-06-25 13:04:16 +02:00
2019-10-07 15:03:57 +02:00

= Http Server

Run

[source=groovy]
--------
./gradlew clean build publishToMavenLocal
--------

or

--------
./mvnw clean install
--------

To

- build the app
- generate and run Spring Cloud Contract Verifier tests
- publish the fatJar and the stubs to Maven Local