Skip to content

Commit 901471f

Browse files
build: keep geth-sources.jar build result for JavaDoc (#21596)
* ci: tooltips for javadoc for mobile app * f space
1 parent 6660929 commit 901471f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎Makefile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ android:
2424
$(GORUN) build/ci.go aar --local
2525
@echo "Done building."
2626
@echo "Import \"$(GOBIN)/geth.aar\" to use the library."
27-
27+
@echo "Import \"$(GOBIN)/geth-sources.jar\" to add javadocs"
28+
@echo "For more info see https://stackoverflow.com/questions/20994336/android-studio-how-to-attach-javadoc"
29+
2830
ios:
2931
$(GORUN) build/ci.go xcode --local
3032
@echo "Done building."

‎build/ci.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,7 @@ func doAndroidArchive(cmdline []string) {
836836
if *local {
837837
// If we're building locally, copy bundle to build dir and skip Maven
838838
os.Rename("geth.aar", filepath.Join(GOBIN, "geth.aar"))
839+
os.Rename("geth-sources.jar", filepath.Join(GOBIN, "geth-sources.jar"))
839840
return
840841
}
841842
meta := newMavenMetadata(env)

0 commit comments

Comments
 (0)