mirror of
https://github.com/corda/corda.git
synced 2024-12-29 17:28:56 +00:00
Cleanup build (#2551)
* Remove compile-time dependencies on jolokia-war from webserver * Stop exporting jolokia version to all projects, it is only used by node
This commit is contained in:
parent
307e2988c9
commit
458db7cb24
@ -2,7 +2,6 @@ buildscript {
|
|||||||
// For sharing constants between builds
|
// For sharing constants between builds
|
||||||
Properties constants = new Properties()
|
Properties constants = new Properties()
|
||||||
file("$projectDir/constants.properties").withInputStream { constants.load(it) }
|
file("$projectDir/constants.properties").withInputStream { constants.load(it) }
|
||||||
file("${project(':node').projectDir}/src/main/resources/build.properties").withInputStream { constants.load(it) }
|
|
||||||
|
|
||||||
// Our version: bump this on release.
|
// Our version: bump this on release.
|
||||||
ext.corda_release_version = "3.0-SNAPSHOT"
|
ext.corda_release_version = "3.0-SNAPSHOT"
|
||||||
@ -41,7 +40,6 @@ buildscript {
|
|||||||
ext.jackson_version = '2.9.3'
|
ext.jackson_version = '2.9.3'
|
||||||
ext.jetty_version = '9.4.7.v20170914'
|
ext.jetty_version = '9.4.7.v20170914'
|
||||||
ext.jersey_version = '2.25'
|
ext.jersey_version = '2.25'
|
||||||
ext.jolokia_version = constants.getProperty("jolokiaAgentVersion")
|
|
||||||
ext.assertj_version = '3.8.0'
|
ext.assertj_version = '3.8.0'
|
||||||
ext.slf4j_version = '1.7.25'
|
ext.slf4j_version = '1.7.25'
|
||||||
ext.log4j_version = '2.9.1'
|
ext.log4j_version = '2.9.1'
|
||||||
|
@ -9,6 +9,14 @@ apply plugin: 'com.jfrog.artifactory'
|
|||||||
|
|
||||||
description 'Corda node modules'
|
description 'Corda node modules'
|
||||||
|
|
||||||
|
// Import private compile time constants
|
||||||
|
buildscript {
|
||||||
|
def properties = new Properties()
|
||||||
|
file("$projectDir/src/main/resources/build.properties").withInputStream { properties.load(it) }
|
||||||
|
|
||||||
|
ext.jolokia_version = properties.getProperty('jolokiaAgentVersion')
|
||||||
|
}
|
||||||
|
|
||||||
//noinspection GroovyAssignabilityCheck
|
//noinspection GroovyAssignabilityCheck
|
||||||
configurations {
|
configurations {
|
||||||
compile {
|
compile {
|
||||||
|
@ -38,7 +38,6 @@ dependencies {
|
|||||||
compile "org.eclipse.jetty:jetty-servlet:$jetty_version"
|
compile "org.eclipse.jetty:jetty-servlet:$jetty_version"
|
||||||
compile "org.eclipse.jetty:jetty-webapp:$jetty_version"
|
compile "org.eclipse.jetty:jetty-webapp:$jetty_version"
|
||||||
compile "javax.servlet:javax.servlet-api:3.1.0"
|
compile "javax.servlet:javax.servlet-api:3.1.0"
|
||||||
compile "org.jolokia:jolokia-war:$jolokia_version"
|
|
||||||
compile "commons-fileupload:commons-fileupload:$fileupload_version"
|
compile "commons-fileupload:commons-fileupload:$fileupload_version"
|
||||||
|
|
||||||
// Log4J: logging framework (with SLF4J bindings)
|
// Log4J: logging framework (with SLF4J bindings)
|
||||||
|
Loading…
Reference in New Issue
Block a user