@@ -59,7 +59,7 @@ repositories {
59
59
dependencies {
60
60
compile group : ' club.minnced' , name : ' Java-DiscordRPC' , version : ' v1.3.3'
61
61
62
- compile group : ' org.jgroups' , name : ' jgroups' , version : ' 4.0.9 .Final'
62
+ compile group : ' org.jgroups' , name : ' jgroups' , version : ' 4.0.10 .Final'
63
63
}
64
64
65
65
processResources {
@@ -73,7 +73,7 @@ processResources {
73
73
}
74
74
}
75
75
76
- ext. readInfoFile = { String name ->
76
+ project . ext. readInfoFile = { String name ->
77
77
// @formatter:off
78
78
return file(name). text
79
79
// Remove unnecessary whitespace
@@ -89,7 +89,7 @@ ext.readInfoFile = { String name ->
89
89
// Replace inner lists
90
90
.replaceAll(" \n - (.*)" , { matcher -> " <li>${ matcher[1]} </li>" })
91
91
.replaceAll(" ((?:<li>.*</li>)+)" , { matcher -> " <ul>${ matcher[1]} </ul>" })
92
- //
92
+
93
93
// Replace lists
94
94
.replaceAll(" \n - (.*)" , { matcher -> " <li>${ matcher[1]} </li>" })
95
95
.replaceAll(" ((?:<li>.*</li>)+)" , { matcher -> " <ul>${ matcher[1]} </ul>" })
@@ -103,7 +103,7 @@ ext.readInfoFile = { String name ->
103
103
// @formatter:on
104
104
}
105
105
106
- ext. showHtml = { String html ->
106
+ project . ext. showHtml = { String html ->
107
107
JFrame frame = new JFrame (" Changelog" )
108
108
frame. setDefaultCloseOperation(JFrame . DISPOSE_ON_CLOSE )
109
109
frame. getContentPane(). add(new JLabel (' <html>' + html))
0 commit comments