-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
52 lines (44 loc) · 1.85 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
wrapper {
gradleVersion = '4.10.2'
distributionType = Wrapper.DistributionType.ALL
}
allprojects {
apply plugin: 'java'
sourceCompatibility = 1.7
targetCompatibility = 1.7
group = 'io.ghostwriter'
version = "0.6.0"
// Maven central related properties
ext.doUploadToSonatype = "$System.env.RELEASE" ? true : false
ext.sonatypeUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
ext.sonatypeUserName = project.hasProperty("sonatypeUserName") ? sonatypeUserName : ""
ext.sonatypePassword = project.hasProperty("sonatypePassword") ? sonatypePassword : ""
// General project information
ext.ghostwriterUrl = "http://ghostwriter.io"
ext.ghostwriterScm = "scm:git@github.com/GoodGrind/ghostwriter-api"
ext.ghostwriterLicense = "GNU Lesser General Public License, version 2.1"
ext.ghostwriterLicenseUrl = "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html"
ext.ghostwriterDeveloperId = "snorbi07"
ext.ghostwriterDeveloperName = "Norbert Sram"
ext.ghostwriterDeveloperEmail = ""
}
subprojects {
repositories {
jcenter()
mavenLocal()
}
test {
// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true
}
}
task identify {
println " _____ _ ___ __ _ _"
println " / ____| | | \\ \\ / / (_) |"
println "| | __| |__ ___ ___| |\\ \\ /\\ / / __ _| |_ ___ _ __"
println "| | |_ | '_ \\ / _ \\/ __| __\\ \\/ \\/ / '__| | __/ _ \\ '__|"
println "| |__| | | | | (_) \\__ \\ |_ \\ /\\ /| | | | || __/ |"
println " \\_____|_| |_|\\___/|___/\\__| \\/ \\/ |_| |_|\\__\\___|_|"
println "Using build file '$buildFile.name' in '$buildFile.parentFile.name'."
configurations.runtime.each { File f -> println f }
}