mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
BUILD - Apply Docker Remote API plugin using Gradle's plugins block. (#4874)
This commit is contained in:
parent
ed2fe13436
commit
1cd78a996f
@ -1,17 +1,9 @@
|
||||
evaluationDependsOn(":node:capsule")
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.bmuschko:gradle-docker-plugin:3.4.4'
|
||||
}
|
||||
plugins {
|
||||
id 'com.bmuschko.docker-remote-api' version '3.4.4'
|
||||
}
|
||||
|
||||
evaluationDependsOn(":node:capsule")
|
||||
|
||||
import com.bmuschko.gradle.docker.DockerRemoteApiPlugin
|
||||
import com.bmuschko.gradle.docker.tasks.image.DockerBuildImage
|
||||
import com.bmuschko.gradle.docker.tasks.image.DockerPushImage
|
||||
|
||||
@ -19,7 +11,6 @@ import java.time.LocalDateTime
|
||||
import java.time.format.DateTimeFormatter
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: DockerRemoteApiPlugin
|
||||
apply plugin: 'application'
|
||||
// We need to set mainClassName before applying the shadow plugin.
|
||||
mainClassName = 'net.corda.core.ConfigExporterMain'
|
||||
|
Loading…
Reference in New Issue
Block a user