-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
63 lines (52 loc) · 1.64 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
apply plugin: 'idea'
apply from: 'gradle/credentials.gradle'
apply from: 'gradle/compile.gradle'
apply from: 'gradle/publishing.gradle'
apply from: 'gradle/bintray.gradle'
apply from: 'gradle/artifactory.gradle'
apply from: 'gradle/ci.gradle'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.3'
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.2.4'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
}
}
repositories {
jcenter()
maven { url 'https://repository.mulesoft.org/nexus/content/groups/public' }
}
dependencies {
compile localGroovy()
compile gradleApi()
compile ( 'org.raml:raml-parser:0.9-SNAPSHOT' ) {
exclude module: 'slf4j-api'
exclude module: 'slf4j-log4j12'
}
compile 'com.github.jknack:handlebars:2.0.0'
compile 'org.commonjava.googlecode.markdown4j:markdown4j:2.2-cj-1.0'
}
group='org.ajbrown'
version='0.0.0-SNAPSHOT'
ext {
artifactId = 'gradle-raml-plugin'
defaultEncoding = 'UTF-8'
}
defaultTasks 'clean', 'build'
task release {
description = "Releases a version of the plugin on Artifactory and Bintray"
dependsOn artifactoryPublish, bintrayUpload
}
test {
testLogging {
displayGranularity 2
events "passed", "skipped", "failed", "standardError"
}
}.doFirst {
// We have to remove snakeyaml from the classpath, since gradle core pulls it in and prefers it over our declared
// and transitive dependencies. See http://bit.ly/1DcCC6g
classpath = classpath.filter { !it.name.contains("snakeyaml-1.6") }
}