-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (38 loc) · 909 Bytes
/
build.gradle
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
plugins {
id "java-gradle-plugin"
id "groovy"
id 'org.jetbrains.kotlin.jvm' version "1.3.21"
id "maven-publish"
id "com.gradle.plugin-publish" version "0.10.1"
}
group = groupId
sourceCompatibility = '1.8'
gradlePlugin {
plugins {
serliDojoHook {
id = "com.serli.dojo.gradle-safegit"
implementationClass = "com.serli.dojo.gradle.safegit.GitHookPlugin"
}
}
}
pluginBundle {
website = 'https://github.com/SerliDojo/gradle-safegit'
vcsUrl = 'https://github.com/SerliDojo/gradle-safegit'
description = 'Handle git hooks within gradle'
tags = ['git', 'hook']
plugins {
serliDojoHook {
// id is captured from java-gradle-plugin configuration
displayName = 'Gradle Safe Git'
}
}
}
repositories {
gradlePluginPortal()
jcenter()
}
dependencies {
compileOnly gradleApi()
implementation "org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}"
testCompileOnly gradleTestKit()
}