forked from GradleUp/shadow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
76 lines (65 loc) · 1.81 KB
/
build.gradle
File metadata and controls
76 lines (65 loc) · 1.81 KB
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
68
69
70
71
72
73
74
75
76
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.5'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.0.0"
classpath "com.gradle.publish:plugin-publish-plugin:0.9.7"
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.3'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.11'
classpath 'org.asciidoctor:asciidoctorj-groovy-dsl:1.0.0.preview2'
classpath "com.bluepapa32:gradle-watch-plugin:0.1.5"
classpath "org.kordamp.gradle:livereload-gradle-plugin:0.2.1"
classpath 'org.ajoberstar:gradle-git:1.5.0'
}
}
plugins {
id 'com.gradle.build-scan' version '1.7'
id 'groovy'
id 'project-report'
id 'idea'
}
apply plugin: 'com.github.johnrengelman.plugin-shadow'
buildScan {
licenseAgreementUrl = 'https://gradle.com/terms-of-service'
licenseAgree = 'yes'
}
apply from: file('gradle/docs.gradle')
apply from: file('gradle/publish.gradle')
apply from: file('gradle/asciidoc.gradle')
apply from: file('gradle/ghPages.gradle')
apply from: file('gradle/dependencies.gradle')
repositories {
mavenLocal()
jcenter()
}
test {
dependsOn publishToMavenLocal
if (System.env.CI == 'true') {
testLogging.showStandardStreams = true
minHeapSize "1g"
maxHeapSize "1g"
}
}
jar {
from rootProject.file('LICENSE')
from rootProject.file('NOTICE')
}
shadowJar {
classifier = ''
}
idea {
project {
languageLevel = '1.7'
}
}
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
task downloadDependencies(type: Exec) {
configurations.testRuntime.files
commandLine 'echo', 'Downloaded all dependencies'
}