File tree Expand file tree Collapse file tree
core/src/main/java/me/vaperion/blade/annotation/command Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 - name : Setup Java
1919 uses : actions/setup-java@v4
2020 with :
21- java-version : ' 21 '
21+ java-version : ' 25 '
2222 distribution : ' temurin'
2323 - name : Setup Gradle
2424 uses : gradle/actions/setup-gradle@v3
3535 -Psigning.password=${{ secrets.PGP_PASSWORD }}
3636 env :
3737 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
38- ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
38+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
Original file line number Diff line number Diff line change @@ -29,6 +29,17 @@ subprojects {
2929 options.encoding = " UTF-8"
3030 }
3131
32+ tasks.withType<Javadoc > {
33+ javadocTool.set(javaToolchains.javadocToolFor {
34+ languageVersion.set(JavaLanguageVersion .of(25 ))
35+ })
36+
37+ (options as StandardJavadocDocletOptions )
38+ .addStringOption(" tag" , " implNote:a:Implementation Note:" )
39+
40+ options.encoding = " UTF-8"
41+ }
42+
3243 dependencies {
3344 testImplementation(" org.junit.jupiter:junit-jupiter:5.10.1" )
3445 testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
Original file line number Diff line number Diff line change 1010/**
1111 * Marks a method or class as a command.
1212 *
13- * <h3 >Usage Patterns:</h3 >
13+ * <h2 >Usage Patterns:</h2 >
1414 * <ul>
1515 * <li><strong>Method-level:</strong> Registers the method as a standalone command</li>
1616 * <li><strong>Class-level:</strong> Acts as a prefix for all command methods within the class</li>
1717 * </ul>
1818 *
19- * <h3 >Example:</h3 >
19+ * <h2 >Example:</h2 >
2020 * <pre>{@code
2121 * @Command("mycommand")
2222 * public class MyCommandClass {
4141 */
4242 @ NotNull
4343 String [] value ();
44- }
44+ }
You can’t perform that action at this time.
0 commit comments