Make it easier to build the development environment. (Phase 2) (#147)

* Make it easier to build the development environment. (Phase 2)

* Provide sources jar.

* Add development guide.

* Improve development guide.
This commit is contained in:
ZekerZhayard authored and GitHub committed 2021-03-13 19:46:51 +08:00
1 parent 98681e8251
commit 4daacd18e8
15 files changed
+281 -37

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ void uploadArtifacts(String shortVersion) {
String mcversion = getMcVersion(file.getName())
println(String.format("csl-%s-%s\t%s", mcversion.replace(".", "").toLowerCase(), cslversion, url))
if (key.endsWith(".jar")) {
if (key.endsWith(".jar") && !key.endsWith("-sources.jar")) {
map2.put(mcversion, url)
} else if (key.endsWith(".json")) {
map3.put(mcversion, url)