forked from fwaibel/dockerizor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
68 lines (56 loc) · 1.76 KB
/
build.gradle
File metadata and controls
68 lines (56 loc) · 1.76 KB
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
buildscript {
repositories {
// Maven home of the plugin-publish-plugin
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies { classpath "com.gradle.publish:plugin-publish-plugin:0.9.7" }
}
// First, apply the publishing plugin
plugins {
id "com.gradle.plugin-publish" version "0.11.0"
id "java-gradle-plugin"
// Apply other plugins here, e.g. the kotlin plugin for a plugin written in Kotlin
// or the groovy plugin if the plugin uses Groovy
}
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'eclipse'
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile gradleApi()
compile localGroovy()
compile 'com.github.docker-java:docker-java:3.1.5'
compile 'de.gesellix:unix-socket-factory:2016-04-06T22-21-19'
testCompile 'junit:junit:4.13'
}
group = 'de.datenkollektiv.dockerizor'
version = '0.9.5.BUILD-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
// Use java-gradle-plugin to generate plugin descriptors and specify plugin ids
gradlePlugin {
plugins {
dockerizorPlugin {
id = 'de.datenkollektiv.dockerizor'
implementationClass = 'com.eclipsesource.dockerizor.Dockerizor'
}
}
}
pluginBundle {
website = 'https://github.com/datenkollektiv/dockerizor'
vcsUrl = 'https://github.com/datenkollektiv/dockerizor'
description = 'Gradle plug-in to create a Docker image that includes an Eclipse Virgo container'
tags = ['virgo', 'docker']
plugins {
dockerizorPlugin {
// id is captured from java-gradle-plugin configuration
displayName = 'Gradle dockerizor plugin'
}
}
}
apply from: file('gradle/publish.gradle')