File tree Expand file tree Collapse file tree 4 files changed +15
-5
lines changed
subprojects/gradle-guides-plugin
src/main/java/org/gradle/docs Expand file tree Collapse file tree 4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,18 @@ Each of the plugins generates a guide from Asciidoc source.
19
19
20
20
== Changelog
21
21
22
+ == 0.23.3
23
+
24
+ - Fix compatibility with Gradle 9.0 (File Permission API)
25
+
26
+ == 0.23.2
27
+
28
+ - Remove deprecated GUtil
29
+
30
+ == 0.23.1
31
+
32
+ - Make all private `@TaskAction` methods public
33
+
22
34
== 0.23
23
35
24
36
- Upgrade to the Asciidoctor plugin 4.0.1
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ plugins {
8
8
apply (from = " $projectDir /gradle/functional-test.gradle" )
9
9
10
10
group = " org.gradle.guides"
11
- version = " 0.23.2 "
11
+ version = " 0.23.3 "
12
12
13
13
java {
14
14
toolchain {
Original file line number Diff line number Diff line change 1
1
package org .gradle .docs .internal ;
2
2
3
- import org .gradle .util .GUtil ;
4
-
5
3
import java .util .Arrays ;
6
4
import java .util .regex .Matcher ;
7
5
import java .util .regex .Pattern ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public void visitDir(FileVisitDetails dirDetails) {
75
75
return ;
76
76
}
77
77
ZipEntry entry = new ZipEntry (dirDetails .getRelativePath ().getPathString () + "/" );
78
- entry .setUnixMode (UnixStat .DIR_FLAG | dirDetails .getMode ());
78
+ entry .setUnixMode (UnixStat .DIR_FLAG | dirDetails .getPermissions (). toUnixNumeric ());
79
79
zipStream .putNextEntry (entry );
80
80
zipStream .closeEntry ();
81
81
} catch (IOException e ) {
@@ -88,7 +88,7 @@ public void visitFile(FileVisitDetails fileDetails) {
88
88
try {
89
89
final ZipEntry entry = new ZipEntry (fileDetails .getRelativePath ().getPathString ());
90
90
entry .setSize (fileDetails .getSize ());
91
- entry .setUnixMode (UnixStat .FILE_FLAG | fileDetails .getMode ());
91
+ entry .setUnixMode (UnixStat .FILE_FLAG | fileDetails .getPermissions (). toUnixNumeric ());
92
92
zipStream .putNextEntry (entry );
93
93
94
94
if (isTextFile (fileDetails )) {
You can’t perform that action at this time.
0 commit comments