forked from crotwell/gradle-macappbundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (38 loc) · 1.02 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
plugins {
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.10.0'
id 'java-gradle-plugin'
id 'eclipse'
id 'groovy'
}
group = "edu.sc.seis"
version = "2.3.0"
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile gradleApi()
compile localGroovy() //not needed for Java plugins
// other dependencies that your plugin requires
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
pluginBundle {
website = 'https://github.com/crotwell/gradle-macappbundle'
vcsUrl = 'https://github.com/crotwell/gradle-macappbundle.git'
tags = [ 'gradle', 'plugin', 'macappbundle', 'dmg', 'osx']
}
gradlePlugin {
plugins {
macappbundle {
id = 'edu.sc.seis.macAppBundle'
displayName = 'MacApp Bundle plugin'
description = 'A Gradle Plugin to create a Mac OSX .app application based on the project. '
implementationClass = 'edu.sc.seis.macAppBundle.MacAppBundlePlugin'
}
}
}