Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit 11cb2bc

Browse files
committed
fix gradle build, tag for release
1 parent b28ed47 commit 11cb2bc

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ Not convinced? Try out the [examples](https://github.com/fastily/jwiki/wiki/Exa
1818
<dependency>
1919
<groupId>org.fastily</groupId>
2020
<artifactId>jwiki</artifactId>
21-
<version>1.8.0</version>
21+
<version>1.9.0</version>
2222
</dependency>
2323
```
2424

2525
#### Gradle
2626
```groovy
27-
implementation 'org.fastily:jwiki:1.8.0'
27+
implementation 'org.fastily:jwiki:1.9.0'
2828
```
2929

3030
⚠️ COORDINATES HAVE CHANGED (since 1.7.0): jwiki's new groupId is `org.fastily`
@@ -37,7 +37,7 @@ Build and publish (install) jwiki on your computer with
3737

3838
## Resources
3939
* [Examples](https://github.com/fastily/jwiki/wiki/Examples)
40-
* [Javadocs](https://fastily.github.io/jwiki/docs/jwiki/)
40+
* [Javadocs](https://www.javadoc.io/doc/org.fastily/jwiki/latest/)
4141

4242
Please create a new [issue](https://github.com/fastily/jwiki/issues) for bug reports and/or feature requests.
4343

build.gradle

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,25 @@ plugins {
88

99
description="${project.name} build script"
1010
group="org.fastily"
11-
version="1.8.1"
11+
version="1.9.0"
1212

1313
repositories {
1414
mavenCentral()
1515
}
1616

17-
1817
dependencies {
1918
api "com.google.code.gson:gson:2.8.9"
2019
api "com.squareup.okhttp3:okhttp:4.9.3"
2120

2221
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
2322
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
24-
//testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.5.2'
2523

2624
testImplementation "com.squareup.okhttp3:mockwebserver:4.9.3"
2725
}
2826

2927

30-
test {
31-
useJUnitPlatform()
28+
tasks.named('test') {
29+
useJUnitPlatform()
3230
}
3331

3432

@@ -46,15 +44,15 @@ javadoc {
4644
classpath = configurations.compileClasspath
4745

4846
options {
47+
jFlags '-Dhttp.agent=gradle-javadoc'
4948
setMemberLevel JavadocMemberLevel.PUBLIC
5049
setAuthor true
5150

5251
links "https://docs.oracle.com/en/java/javase/11/docs/api/"
5352
//links "https://square.github.io/okio/1.x/okio/"
5453
//links "https://square.github.io/okhttp/3.x/okhttp/"
55-
links "https://fastily.github.io/jwiki/docs/gson/"
54+
links "https://www.javadoc.io/doc/com.google.code.gson/gson/2.8.9/"
5655

57-
// links "http://square.github.io/okhttp/3.x/mockwebserver/"
5856
// setOutputLevel JavadocOutputLevel.VERBOSE
5957
}
6058
}
@@ -101,8 +99,8 @@ publishing {
10199
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
102100

103101
credentials {
104-
username hasProperty("ossrhUsername") ? "$ossrhUsername" : System.getenv('ossrhUsername')
105-
password hasProperty("ossrhPassword") ? "$ossrhPassword" : System.getenv('ossrhPassword')
102+
username project.hasProperty("ossrhUsername") ? project.properties["ossrhUsername"] : System.getenv('ossrhUsername')
103+
password project.hasProperty("ossrhPassword") ? project.properties["ossrhPassword"] : System.getenv('ossrhPassword')
106104
}
107105
}
108106
}

src/main/java/org/fastily/jwiki/core/Wiki.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ public ArrayList<String> listUserRights(String user)
11351135
}
11361136

11371137
/**
1138-
* Performs a prefix search using hte specified prefix and namespace, and returns the best matching titles.
1138+
* Performs a prefix search using the specified prefix and namespace, and returns the best matching titles.
11391139
*
11401140
* @param namespace The namespace to filter by (inclusive)
11411141
* @param prefix Get all titles in the specified namespace, that start with this String. To select subpages only, append a {@code /} to the end of this parameter.

0 commit comments

Comments
 (0)