android-sdk: depends_on :java
android-sdk: depends_on :java

- also add a test

Closes #50342.

Signed-off-by: Dominyk Tiller <53e438f55903875d07efdd98a8aaf887e7208dd3@gmail.com>

gawbul/homebrew,BrewTestBot/homebrew,sakra/homebrew,nandub/homebrew,Homebrew/homebrew,liamstask/homebrew,marcwebbie/homebrew,ExtremeMan/homebrew,elgertam/homebrew,ralic/homebrew,sakra/homebrew,frodeaa/homebrew,Homebrew/homebrew,tutumcloud/homebrew,gnubila-france/linuxbrew,scorphus/homebrew,reelsense/linuxbrew,OJFord/homebrew,sakra/homebrew,saketkc/linuxbrew,influxdb/homebrew,frodeaa/homebrew,nandub/homebrew,cscetbon/homebrew,reelsense/homebrew,AlexejK/homebrew,benjaminfrank/homebrew,Linuxbrew/linuxbrew,SuperNEMO-DBD/cadfaelbrew,pcottle/homebrew,muellermartin/homebrew,marcwebbie/homebrew,ablyler/homebrew,mkrapp/homebrew,dutchcoders/homebrew,influxdata/homebrew,muellermartin/homebrew,josa42/homebrew,ilovezfs/homebrew,sjackman/linuxbrew,cscetbon/homebrew,ExtremeMan/homebrew,mkrapp/homebrew,skinny-framework/homebrew,scorphus/homebrew,ralic/homebrew,influxdb/homebrew,Linuxbrew/linuxbrew,3van/homebrew,reelsense/linuxbrew,michaKFromParis/homebrew-sparks,frodeaa/homebrew,filcab/homebrew,pcottle/homebrew,ilovezfs/homebrew,sjackman/linuxbrew,dutchcoders/homebrew,liamstask/homebrew,3van/homebrew,chadcatlett/homebrew,getgauge/homebrew,liamstask/homebrew,reelsense/homebrew,gawbul/homebrew,SuperNEMO-DBD/cadfaelbrew,nandub/homebrew,Asuranceturix/homebrew,theeternalsw0rd/homebrew,optikfluffel/homebrew,ablyler/homebrew,nandub/homebrew,emcrisostomo/homebrew,influxdata/homebrew,SuperNEMO-DBD/cadfaelbrew,Asuranceturix/homebrew,SuperNEMO-DBD/cadfaelbrew,Asuranceturix/homebrew,base10/homebrew,brunchboy/homebrew,Angeldude/linuxbrew,skinny-framework/homebrew,brunchboy/homebrew,dplarson/homebrew,base10/homebrew,brunchboy/homebrew,dericed/homebrew,Homebrew/homebrew,ExtremeMan/homebrew,Angeldude/linuxbrew,Homebrew/linuxbrew,filcab/homebrew,booi/homebrew,pcottle/homebrew,Homebrew/linuxbrew,yumitsu/homebrew,base10/homebrew,saketkc/linuxbrew,BrewTestBot/homebrew,deorth/homebrew,michaKFromParis/homebrew-sparks,marcwebbie/homebrew,Homebrew/linuxbrew,Asuranceturix/homebrew,frodeaa/homebrew,afh/homebrew,gnubila-france/linuxbrew,benjaminfrank/homebrew,emcrisostomo/homebrew,dutchcoders/homebrew,AlexejK/homebrew,ralic/homebrew,Homebrew/homebrew,optikfluffel/homebrew,reelsense/homebrew,joshfriend/homebrew,sjackman/linuxbrew,Angeldude/linuxbrew,base10/homebrew,dericed/homebrew,skinny-framework/homebrew,scorphus/homebrew,benjaminfrank/homebrew,sakra/homebrew,chadcatlett/homebrew,elgertam/homebrew,joshfriend/homebrew,skinny-framework/homebrew,OJFord/homebrew,totalvoidness/homebrew,gawbul/homebrew,optikfluffel/homebrew,yumitsu/homebrew,josa42/homebrew,chadcatlett/homebrew,influxdata/homebrew,yumitsu/homebrew,muellermartin/homebrew,dplarson/homebrew,josa42/homebrew,michaKFromParis/homebrew-sparks,Angeldude/linuxbrew,emcrisostomo/homebrew,Linuxbrew/linuxbrew,tschoonj/homebrew,OJFord/homebrew,ilovezfs/homebrew,marcwebbie/homebrew,tschoonj/homebrew,tschoonj/homebrew,lrascao/homebrew,influxdb/homebrew,tutumcloud/homebrew,3van/homebrew,pcottle/homebrew,dutchcoders/homebrew,liamstask/homebrew,dplarson/homebrew,afh/homebrew,optikfluffel/homebrew,reelsense/linuxbrew,afh/homebrew,reelsense/linuxbrew,scorphus/homebrew,sferik/homebrew,saketkc/linuxbrew,lrascao/homebrew,filcab/homebrew,Homebrew/linuxbrew,ralic/homebrew,totalvoidness/homebrew,saketkc/linuxbrew,AlexejK/homebrew,pcottle/homebrew,tschoonj/homebrew,gnubila-france/linuxbrew,totalvoidness/homebrew,influxdata/homebrew,sjackman/linuxbrew,mkrapp/homebrew,ablyler/homebrew,getgauge/homebrew,dericed/homebrew,ablyler/homebrew,3van/homebrew,ExtremeMan/homebrew,emcrisostomo/homebrew,sferik/homebrew,brunchboy/homebrew,Asuranceturix/homebrew,theeternalsw0rd/homebrew,lrascao/homebrew,tutumcloud/homebrew,gnubila-france/linuxbrew,booi/homebrew,getgauge/homebrew,reelsense/homebrew,filcab/homebrew,benjaminfrank/homebrew,getgauge/homebrew,Linuxbrew/linuxbrew,joshfriend/homebrew,AlexejK/homebrew,dericed/homebrew,muellermartin/homebrew,cscetbon/homebrew,booi/homebrew,tutumcloud/homebrew,elgertam/homebrew,ilovezfs/homebrew,OJFord/homebrew,BrewTestBot/homebrew,theeternalsw0rd/homebrew,BrewTestBot/homebrew,totalvoidness/homebrew,elgertam/homebrew,deorth/homebrew,dplarson/homebrew,influxdb/homebrew,theeternalsw0rd/homebrew,sferik/homebrew,deorth/homebrew,sferik/homebrew,afh/homebrew