mirror of
https://github.com/corda/corda.git
synced 2025-06-05 09:00:53 +00:00
Update remaining shadow plugin usages, remove cordform-common from,node.
This commit is contained in:
parent
96597ba084
commit
fba96a53fa
@ -1,5 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "com.github.johnrengelman.shadow" version "2.0.4"
|
id 'com.github.johnrengelman.shadow'
|
||||||
}
|
}
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
apply plugin: 'net.corda.plugins.quasar-utils'
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
||||||
|
@ -73,9 +73,6 @@ dependencies {
|
|||||||
compile project(':tools:shell')
|
compile project(':tools:shell')
|
||||||
compile project(':tools:cliutils')
|
compile project(':tools:cliutils')
|
||||||
|
|
||||||
|
|
||||||
compile "net.corda.plugins:cordform-common:$gradle_plugins_version"
|
|
||||||
|
|
||||||
// Log4J: logging framework (with SLF4J bindings)
|
// Log4J: logging framework (with SLF4J bindings)
|
||||||
compile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
|
||||||
compile "org.apache.logging.log4j:log4j-web:${log4j_version}"
|
compile "org.apache.logging.log4j:log4j-web:${log4j_version}"
|
||||||
|
@ -1,45 +1,41 @@
|
|||||||
description 'Database Migration Tool'
|
plugins {
|
||||||
|
id 'de.sebastianboegl.shadow.transformer.log4j' version '2.1.1' apply false
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
maven {
|
|
||||||
url "https://plugins.gradle.org/m2/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath "com.github.jengelman.gradle.plugins:shadow:$shadow_version"
|
|
||||||
classpath 'de.sebastianboegl.gradle.plugins:shadow-log4j-transformer:2.1.1'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
description 'Database Migration Tool'
|
||||||
|
|
||||||
apply plugin: 'application'
|
apply plugin: 'application'
|
||||||
|
// We need to set mainClassName before applying the shadow plugin.
|
||||||
|
mainClassName = 'com.r3.corda.dbmigration.DBMigration'
|
||||||
|
|
||||||
apply plugin: 'com.github.johnrengelman.shadow'
|
apply plugin: 'com.github.johnrengelman.shadow'
|
||||||
apply plugin: 'net.corda.plugins.publish-utils'
|
apply plugin: 'net.corda.plugins.publish-utils'
|
||||||
apply plugin: 'com.jfrog.artifactory'
|
apply plugin: 'com.jfrog.artifactory'
|
||||||
|
|
||||||
mainClassName = 'com.r3.corda.dbmigration.DBMigration'
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':node')
|
compile project(':node')
|
||||||
// JOpt: for command line flags.
|
// JOpt: for command line flags.
|
||||||
compile "net.sf.jopt-simple:jopt-simple:$jopt_simple_version"
|
compile "net.sf.jopt-simple:jopt-simple:$jopt_simple_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
import de.sebastianboegl.gradle.plugins.shadow.transformers.Log4j2PluginsFileTransformer
|
||||||
shadowJar {
|
shadowJar {
|
||||||
transform(de.sebastianboegl.gradle.plugins.shadow.transformers.Log4j2PluginsFileTransformer)
|
transform(Log4j2PluginsFileTransformer)
|
||||||
archiveName = "database-manager-${version}.jar"
|
baseName = 'database-manager'
|
||||||
}
|
}
|
||||||
|
|
||||||
task buildMigrationTool(dependsOn: shadowJar)
|
task buildMigrationTool(dependsOn: shadowJar)
|
||||||
|
assemble.dependsOn buildMigrationTool
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
publish shadowJar {
|
publish shadowJar {
|
||||||
classifier ""
|
classifier = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
classifier "ignore"
|
classifier 'ignore'
|
||||||
|
enabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
publish {
|
publish {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user