Skip to content

Commit a73e68d

Browse files
authored
Merge pull request #9 from functionaljava/uptodate1
Bring jBake and Gradle current
2 parents 3f1c9c3 + dad53d3 commit a73e68d

File tree

3 files changed

+18
-30
lines changed

3 files changed

+18
-30
lines changed

‎build.gradle

+16-28
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,26 @@
1-
21
buildscript {
32
repositories {
4-
mavenLocal()
5-
jcenter()
6-
maven {
7-
url "https://oss.sonatype.org/content/groups/public"
8-
}
9-
}
10-
11-
dependencies {
12-
classpath "com.ofg:uptodate-gradle-plugin:1.6.0"
13-
classpath "com.github.mperry:jbake-gradle-plugin:0.3"
14-
classpath "org.jbake:jbake-core:2.4.0"
15-
classpath "org.asciidoctor:asciidoctorj:1.5.4"
16-
17-
// classpath "me.champeau.gradle:jbake-gradle-plugin:0.2.1-SNAPSHOT"
18-
}
3+
mavenLocal()
4+
jcenter()
5+
mavenCentral()
6+
}
197
}
208

21-
apply plugin: 'me.champeau.jbake'
22-
apply plugin: "com.ofg.uptodate"
23-
24-
repositories {
25-
jcenter()
26-
maven {
27-
url "https://oss.sonatype.org/content/groups/public"
28-
}
9+
plugins {
10+
id 'org.jbake.site' version '1.2.0'
11+
id 'org.akhikhl.gretty' version '1.4.0'
12+
id "com.ofg.uptodate" version "1.6.3"
2913
}
3014

31-
dependencies {
15+
apply plugin: 'war'
16+
17+
gretty {
18+
httpPort = 8820
19+
contextPath = '/'
20+
extraResourceBases = [bake.output]
3221
}
3322

3423
task publish(type: GradleBuild) {
35-
buildFile = 'publish.gradle'
36-
tasks = ['publishGhPages']
24+
buildFile = 'publish.gradle'
25+
tasks = ['publishGhPages']
3726
}
38-

‎gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-bin.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-bin.zip

‎src/jbake/jbake.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ asciidoctor.attributes.export=true
122122

123123
fj.version.stable=4.7
124124
fj.version.snapshot=4.8-SNAPSHOT
125-
gradle.version=2.14
125+
gradle.version=4.3

0 commit comments

Comments
 (0)