-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
58 lines (49 loc) · 1.64 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
plugins {
base
`kotlin-dsl`
groovy
`maven-publish`
`java-gradle-plugin`
id("pl.allegro.tech.build.axion-release") version "1.10.0"
id("com.gradle.plugin-publish") version "0.10.1"
}
repositories {
mavenCentral()
}
group = "com.github.buildcontainers"
dependencies {
implementation("javax.activation:activation:1.1.1")
implementation("com.github.docker-java:docker-java:3.1.0-rc-7")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.jetbrains.kotlin:kotlin-reflect:1.3.10")
testImplementation("commons-io:commons-io:2.6")
testImplementation("org.spockframework:spock-core:1.2-groovy-2.5") {
exclude(group = "org.codehaus.groovy")
}
}
pluginBundle {
website = "https://github.com/buildcontainers/buildcontainers-gradle-plugin"
vcsUrl = "https://github.com/buildcontainers/buildcontainers-gradle-plugin.git"
tags = listOf("build", "container", "docker", "vm", "ci", "continuous", "integration")
}
gradlePlugin {
plugins {
create("buildcontainers-plugin") {
id = "com.github.buildcontainers"
displayName = "buildcontainers gradle plugin"
description = "A plugin that allows you to build and test your project inside container."
implementationClass = "com.github.buildcontainers.BuildContainersPlugin"
}
}
}
tasks.withType<Test> {
testLogging {
events("passed", "skipped", "failed")
}
}
tasks.wrapper {
gradleVersion = "5.2.1"
distributionType = Wrapper.DistributionType.ALL
}
project.version = scmVersion.version