Vorbereitung Release 03.0 #94
@@ -0,0 +1,42 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("https://nexus.thpeetz.de/repository/maven-central")
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath "de.thpeetz:kontor-spring:0.3.0-SNAPSHOT"
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("https://nexus.thpeetz.de/repository/maven-central")
|
||||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
deployConf {
|
||||
canBeResolved = true
|
||||
canBeConsumed = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
deployConf "de.thpeetz:kontor-spring:0.3.0-SNAPSHOT"
|
||||
implementation "de.thpeetz:kontor-spring:0.3.0-SNAPSHOT"
|
||||
}
|
||||
|
||||
def destinationDir = file("/home/tpeetz/prod")
|
||||
|
||||
task deployKontor(type: Copy) {
|
||||
inputs.files(configurations.implementation)
|
||||
outputs.dir(destinationDir)
|
||||
from configurations.implementation
|
||||
//from buildscript.configurations.classpath
|
||||
into destinationDir
|
||||
}
|
||||
Reference in New Issue
Block a user