remove deploy.gradle and use deploy--kontor.sh
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
This commit is contained in:
@@ -1,42 +0,0 @@
|
|||||||
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