-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
85 lines (78 loc) · 2.97 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
group = "io.github.nigelgbanks"
repositories {
mavenCentral()
gradlePluginPortal()
}
plugins {
id("com.gradle.plugin-publish") version "1.1.0"
`java-gradle-plugin`
`kotlin-dsl`
}
dependencies {
implementation("org.apache.commons:commons-io:1.3.2")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.1")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.1")
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
gradlePlugin {
website.set("https://github.com/Islandora-Devops/isle-gradle-docker-plugin")
vcsUrl.set("https://github.com/Islandora-Devops/isle-gradle-docker-plugin")
plugins {
create("Isle") {
id = "io.github.nigelgbanks.Isle"
implementationClass = "plugins.IslePlugin"
displayName = "Isle"
description = "Main gradle plugin for the Islandora Isle project"
tags.set(listOf("isle"))
}
create("IsleBuild") {
id = "io.github.nigelgbanks.IsleBuild"
implementationClass = "plugins.BuildPlugin"
displayName = "IsleBuild"
description = "Build docker images with buildkit."
tags.set(listOf("isle"))
}
create("IsleCertificateGeneration") {
id = "io.github.nigelgbanks.IsleCertificateGeneration"
implementationClass = "plugins.CertificateGenerationPlugin"
displayName = "IsleCertificateGeneration"
description = "Generates development certificates"
tags.set(listOf("isle"))
}
create("IsleDockerHub") {
id = "io.github.nigelgbanks.IsleDockerHub"
implementationClass = "plugins.DockerHubPlugin"
displayName = "IsleDockerHub"
description = "Tasks for managing DockerHub tags, etc."
tags.set(listOf("isle"))
}
create("IsleReports") {
id = "io.github.nigelgbanks.IsleReports"
implementationClass = "plugins.ReportsPlugin"
displayName = "IsleReports"
description = "Generates security reports for a single project"
tags.set(listOf("isle"))
}
create("IsleRegistry") {
id = "io.github.nigelgbanks.IsleRegistry"
implementationClass = "plugins.RegistryPlugin"
displayName = "IsleRegistry"
description = "Provides local Docker Registry"
tags.set(listOf("isle"))
}
create("IsleTests") {
id = "io.github.nigelgbanks.IsleTests"
implementationClass = "plugins.TestsPlugin"
displayName = "IsleTests"
description = "Perform tests with docker-compose files"
tags.set(listOf("isle"))
}
}
}
extensions.findByName("buildScan")?.withGroovyBuilder {
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
setProperty("termsOfServiceAgree", "yes")
}