-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
67 lines (57 loc) · 1.47 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
61
62
63
64
65
66
67
buildscript {
ext {
springBootVersion = '2.0.5.RELEASE'
}
repositories {
mavenCentral()
}
}
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}
apply plugin: 'java'
apply plugin: 'eclipse'
group = 'com.hulu.ftl'
version = '0.4.2'
sourceCompatibility = 1.8
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
classifier = 'sources'
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'ftl'
from components.java
artifact sourcesJar
pom {
name = "FTL"
description "Format Transform Layer DSL"
url = "https://github.com/trevorgrayson/ftl"
}
}
}
repositories {
maven {
credentials {
username "$mavenUser"
password "$mavenPassword"
}
// change URLs to point to your repos, e.g. http://my.org/repo
def releasesRepoUrl = "$mavenRepo/releases"
def snapshotsRepoUrl = "$mavenRepo/snapshots"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile('org.yaml:snakeyaml:1.23')
compile('com.jayway.jsonpath:json-path:2.4.0')
compile('org.apache.commons:commons-collections4:4.2')
testCompile('org.springframework.boot:spring-boot-starter-test:2.0.5.RELEASE')
}