-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (48 loc) · 1.28 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
plugins {
id "com.gradle.plugin-publish" version "0.10.1"
id "java-gradle-plugin"
id "maven"
id "org.jetbrains.kotlin.jvm" version "1.3.50"
}
group 'com.oliverspryn.gradle'
version '2.1.0'
gradlePlugin {
plugins {
slackUploader {
id = "com.oliverspryn.gradle.slackuploader"
implementationClass = "com.oliverspryn.gradle.SlackUploaderPlugin"
}
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url 'https://jitpack.io' }
jcenter()
}
dependencies {
// Gradle
implementation gradleApi()
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.50"
// Slack API
implementation "com.github.allbegray:slack-api:1.7.0.RELEASE"
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri("./repo"))
}
}
}
pluginBundle {
description = "Uploads artifacts from a Gradle build as a file to a Slack channel"
website = "https://oliverspryn.com/"
vcsUrl = "https://github.com/upmc-enterprises/gradle-slack-uploader-plugin"
tags = ["artifacts", "build", "build artifacts", "cd", "ci", "files", "kotlin", "slack"]
plugins {
slackUploader {
displayName = "Gradle Greeting plugin"
}
}
}