-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (45 loc) · 1.96 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
// Buildscript dependencies and plugins
//----------------------------------------------------------------------------------------------------------------------
plugins {
id "com.eden.orchidPlugin" version "0.16.10"
}
// Orchid setup
//----------------------------------------------------------------------------------------------------------------------
repositories {
jcenter()
}
dependencies {
def orchid_version = '0.16.10'
compile "io.github.javaeden.orchid:OrchidCore:${orchid_version}"
orchidCompile "io.github.javaeden.orchid:OrchidCore:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidPosts:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidPages:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidWiki:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidNetlifyCMS:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidPluginDocs:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidSearch:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidWritersBlocks:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidSyntaxHighlighter:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidTaxonomies:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidFutureImperfect:${orchid_version}"
orchidRuntime "io.github.javaeden.orchid:OrchidAsciidoc:${orchid_version}"
}
project.version = '1'
orchid {
version = "${project.version}"
theme = "FutureImperfect"
if (project.hasProperty('env') && project.property('env') == 'prod') {
environment = 'production'
String isPullRequest = System.getenv('PULL_REQUEST')
if(isPullRequest == "true") {
baseUrl = System.getenv('DEPLOY_URL')
}
else {
baseUrl = System.getenv('URL')
}
}
else {
environment = 'debug'
baseUrl = 'http://localhost:8080'
}
}