-
Notifications
You must be signed in to change notification settings - Fork 33
/
build.gradle
52 lines (42 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
plugins {
id 'maven-publish'
id 'com.gradle.plugin-publish' version '1.2.1'
id 'java-gradle-plugin'
id 'eclipse'
id 'groovy'
}
group = "edu.sc.seis"
version = "2.3.1"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
dependencies {
implementation gradleApi()
implementation localGroovy() //not needed for Java plugins
// other dependencies that your plugin requires
}
// taken from https://github.com/crotwell/gradle-macappbundle/pull/74/
rootProject.tasks.named("processResources") {
duplicatesStrategy = 'include'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
gradlePlugin {
website = 'https://github.com/crotwell/gradle-macappbundle'
vcsUrl = 'https://github.com/crotwell/gradle-macappbundle.git'
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'
tags.set([ 'macappbundle', 'dmg', 'osx'])
}
}
}