-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
51 lines (40 loc) · 1.08 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
buildscript {
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:6.0.0"
classpath "io.github.gradle-nexus:publish-plugin:1.0.0"
}
}
plugins {
id "com.bertramlabs.asset-pipeline" version "3.3.2"
}
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'
group = 'com.morpheusdata'
version = '0.1.1'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
jcenter()
mavenLocal()
}
dependencies {
compileOnly 'com.morpheusdata:morpheus-plugin-api:0.13.1'
compileOnly 'org.codehaus.groovy:groovy-all:2.5.6'
compileOnly 'io.reactivex.rxjava2:rxjava:2.2.0'
compileOnly "org.slf4j:slf4j-api:1.7.26"
compileOnly "org.slf4j:slf4j-parent:1.7.26"
}
jar {
manifest {
attributes(
'Plugin-Class': 'com.morpheusdata.task.NodejsTaskPlugin',
'Plugin-Version': archiveVersion.get()
)
}
}
tasks.assemble.dependsOn tasks.shadowJar