43 lines
874 B
Groovy
43 lines
874 B
Groovy
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
|
|
}
|