-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
59 lines (53 loc) · 2.04 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
plugins {
kotlin("jvm") version "2.0.20"
id("com.gradle.plugin-publish") version "1.2.1"
}
group = "com.wandera"
version = "0.1.0"
gradlePlugin {
website = "https://github.com/wandera/gradle-affected-modules-detector"
vcsUrl = "https://github.com/wandera/gradle-affected-modules-detector"
plugins {
create(name) {
id = "${group}.${name}"
displayName = "Affected Modules Detector"
description = "A plugin to detect modules with code change in a multi-module project"
implementationClass = "com.wandera.affectedmodulesdetector.AffectedModulesDetectorPlugin"
tags.set(listOf("module", "android", "detection"))
}
}
}
publishing {
publications {
create<MavenPublication>("plugin") {
groupId = "$group"
artifactId = name
version = version
from(components["java"])
pom {
name = "Affected Modules Detector"
description = "A plugin to detect modules with code change in a multi-module project"
url = "https://github.com/wandera/gradle-affected-modules-detector"
packaging = "jar"
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id = "petergrajko"
name = "Peter Grajko"
email = "[email protected]"
}
}
scm {
connection = "scm:git:git://github.com/wandera/gradle-affected-modules-detector.git"
developerConnection = "scm:git:ssh://github.com/wandera/gradle-affected-modules-detector.git"
url = "https://github.com/wandera/gradle-affected-modules-detector.git"
}
}
}
}
}