Rewrite Java recipe

This commit is contained in:
Aoran Zeng
2025-07-15 00:08:38 +08:00
parent fcdcbf058a
commit 78001c002f
3 changed files with 42 additions and 20 deletions

View File

@@ -5,7 +5,7 @@
! Config Authors: Aoran Zeng <ccmywish@qq.com>
! Contributors : Nil Null <nil@null.org>
! Created On : <2025-07-14>
! Last Modified : <2025-07-14>
! Last Modified : <2025-07-15>
! ---------------------------------------------------------- -->
# rawstr4c input
@@ -14,6 +14,35 @@
- output = `:global-variable-only-header`
- translate = `:oct`
## Java
### maven config
```xml
<mirror>
<id>@1@</id>
<mirrorOf>*</mirrorOf>
<name>@name@</name>
<url>@url@</url>
</mirror>
```
### build.gradle
```groovy
allprojects {
repositories {
maven { url '@url@' }
mavenLocal()
mavenCentral()
}
}
```
## stackage
```yaml