-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
71 lines (61 loc) · 1.31 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
59
60
61
62
63
64
65
66
67
68
69
70
71
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.7'
}
}
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id 'com.jfrog.bintray' version '1.7.3'
}
apply plugin: 'com.gradle.plugin-publish'
group 'com.sedmelluq'
ext.moduleName = 'jdaction'
version = '1.0.2'
repositories {
jcenter()
}
dependencies {
compile gradleApi()
compile 'org.ow2.asm:asm-debug-all:5.0.3'
}
gradlePlugin {
plugins {
jdaction {
id = 'com.sedmelluq.jdaction'
implementationClass = 'com.sedmelluq.discord.jdaction.NoActionPlugin'
}
}
}
bintray {
user = System.properties['bintray.user']
key = System.properties['bintray.apiKey']
publications = ['pluginMaven', 'jdactionPluginMarkerMaven']
pkg {
repo = rootProject.group
name = 'jdaction'
}
}
pluginBundle {
website = 'https://github.com/sedmelluq/jdaction'
vcsUrl = 'https://github.com/sedmelluq/jdaction'
plugins {
jdaction {
id = "${group}.${moduleName}"
displayName = 'JDAction'
description = 'JDA RestAction usage verifier'
tags = ['discord', 'jda']
version = project.version
}
}
mavenCoordinates {
groupId = group
artifactId = moduleName
version = project.version
}
}