-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
40 lines (31 loc) · 1.47 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
plugins {
`kotlin-dsl`
id("com.gradle.plugin-publish") version "1.3.0"
id("com.github.ben-manes.versions") version "0.51.0"
}
val pluginsVersion = "1.9.9"
version = pluginsVersion
group = "online.colaba"
description = "🚎 Deploy your multi-module gradle project by ssh. 🚐 Easy SCP deploy tasks."
repositories { mavenCentral() }
val sshPlugin = "sshPlugin"
gradlePlugin {
plugins {
create(sshPlugin) {
id = "$group.ssh"; implementationClass = "$group.SshPlugin"
description = "🚐 SCP: deploy your multi-module gradle project distribution by SSH (+ 🐳 Docker helpers tasks)"
displayName = "SCP tasks for easy deploy to remote server via ssh"
tags.set(listOf("ssh", "scp", "deploy", "CI/CD", "sftp", "ftp", "docker", "docker-compose"))
website.set("https://github.com/steklopod/gradle-ssh-plugin")
vcsUrl.set("https://github.com/steklopod/gradle-ssh-plugin.git")
} } }
dependencies {
implementation("org.hidetake:groovy-ssh:2.11.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0-RC.2")
testImplementation(platform("org.junit:junit-bom:5.11.0-M2"))
testImplementation("org.junit.jupiter", "junit-jupiter-engine")
testImplementation("org.junit.jupiter", "junit-jupiter-api")
}
defaultTasks("clean", "assemble", "publishPlugins")
kotlin { jvmToolchain(21) }
java { sourceCompatibility = JavaVersion.VERSION_21; targetCompatibility = JavaVersion.VERSION_21 }