mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
Add version pinning directives to work arond the spring.boot plug-in's shortcomings
This commit is contained in:
parent
405fd8f249
commit
f12bec8496
@ -10,6 +10,16 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
// Spring Boot plugin adds a numerous hardcoded dependencies in the version much lower then Corda expects
|
||||
// causing the problems in runtime. Those can be changed by manipulating above properties
|
||||
// See https://github.com/spring-gradle-plugins/dependency-management-plugin/blob/master/README.md#changing-the-value-of-a-version-property
|
||||
// unfortunately, this has to be repeated in every file using the spring boot plug-in as otherwise change in the order
|
||||
// in which files are a processed changes the outcome of the processing (dependencies are listed after plug-ins, so the
|
||||
// configuration of a dependency does not necessarily affect the plug-in application)
|
||||
ext['artemis.version'] = "$artemis_version"
|
||||
ext['hibernate.version'] = "$hibernate_version"
|
||||
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'idea'
|
||||
@ -21,6 +31,7 @@ apply plugin: 'us.kirchmeier.capsule'
|
||||
// Spring Boot plugin have to be reimported, however it picks up the settings from irs-demo, so there is no need to
|
||||
// reconfigure
|
||||
|
||||
|
||||
// Warning: The network visualiser is not a Cordapp so please do not use it as an example of how
|
||||
// to build a cordapp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user