-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (51 loc) · 1.2 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.9.7"
}
}
apply plugin: "com.gradle.plugin-publish"
apply plugin: 'groovy'
apply plugin: 'maven'
repositories {
jcenter()
}
configurations {
extraLibs
}
dependencies {
compile gradleApi()
compile localGroovy()
compile 'org.hidetake:groovy-ssh:2.7.0'
configurations.compile.extendsFrom(configurations.extraLibs)
}
group = 'io.github.technomancers'
version = '0.1.17'
jar {
from { configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) } }
}
//Used for testing and debugging purposes
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri('../repo'))
}
}
}
//Actual Deploy of plugin
pluginBundle {
website = 'https://willd.io/'
vcsUrl = 'https://github.com/technomancers/gradle'
description = 'Simplifies build and deployment of your java robot code to the RoboRIO without Eclipse.'
tags = ['RoboRIO', 'deploy', 'build']
plugins {
greetingsPlugin {
id = 'io.github.technomancers.gradlerio'
displayName = 'GradleRIO'
}
}
}