File tree 3 files changed +18
-30
lines changed
3 files changed +18
-30
lines changed Original file line number Diff line number Diff line change 1
-
2
1
buildscript {
3
2
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
+ }
19
7
}
20
8
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"
29
13
}
30
14
31
- dependencies {
15
+ apply plugin : ' war'
16
+
17
+ gretty {
18
+ httpPort = 8820
19
+ contextPath = ' /'
20
+ extraResourceBases = [bake. output]
32
21
}
33
22
34
23
task publish (type : GradleBuild ) {
35
- buildFile = ' publish.gradle'
36
- tasks = [' publishGhPages' ]
24
+ buildFile = ' publish.gradle'
25
+ tasks = [' publishGhPages' ]
37
26
}
38
-
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
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
Original file line number Diff line number Diff line change @@ -122,4 +122,4 @@ asciidoctor.attributes.export=true
122
122
123
123
fj.version.stable =4.7
124
124
fj.version.snapshot =4.8-SNAPSHOT
125
- gradle.version =2.14
125
+ gradle.version =4.3
You can’t perform that action at this time.
0 commit comments