From 901471f733dbd5f08fdf1523a16227afd96efcd9 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Mon, 28 Sep 2020 20:11:30 +0200 Subject: [PATCH] build: keep geth-sources.jar build result for JavaDoc (#21596) * ci: tooltips for javadoc for mobile app * f space --- Makefile | 4 +++- build/ci.go | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67095f4d00..ecee5f1894 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,9 @@ android: $(GORUN) build/ci.go aar --local @echo "Done building." @echo "Import \"$(GOBIN)/geth.aar\" to use the library." - + @echo "Import \"$(GOBIN)/geth-sources.jar\" to add javadocs" + @echo "For more info see https://stackoverflow.com/questions/20994336/android-studio-how-to-attach-javadoc" + ios: $(GORUN) build/ci.go xcode --local @echo "Done building." diff --git a/build/ci.go b/build/ci.go index ea708d5e7b..ab153eb85e 100644 --- a/build/ci.go +++ b/build/ci.go @@ -836,6 +836,7 @@ func doAndroidArchive(cmdline []string) { if *local { // If we're building locally, copy bundle to build dir and skip Maven os.Rename("geth.aar", filepath.Join(GOBIN, "geth.aar")) + os.Rename("geth-sources.jar", filepath.Join(GOBIN, "geth-sources.jar")) return } meta := newMavenMetadata(env)