包含了搭建restful 必要的底层通用类
./gradlew jar
./gradlew publish
Nexus
sudo chown -R 200 nexus
docker run --rm -it -d --name nexus -p 8001:8081 -v ~/Desktop/docker/nexus/data:/nexus-data sonatype/nexus3
登录后创建仓库chengweiou
create token from github account add file: ~/.gradle/gradle.properties
maven { url = uri('https://maven.pkg.github.com/chengweiou/blackhole') credentials { username = project.findProperty('gpr.user') ?: System.getenv('USERNAME') password = project.findProperty('gpr.key') ?: System.getenv('TOKEN') } } implementation 'chengweiou.universe:blackhole:0.0.33'