gestalt icon indicating copy to clipboard operation
gestalt copied to clipboard

ci: add android builds to CI

Open BenjaminAmos opened this issue 4 years ago • 2 comments

This is just a small change that updates the Jenkinsfile to use the Android build agent and enables building/publishing the gestalt-android library. I also fixed a compilation error in gestalt=android-testbed that had been previously overlooked when re-naming Component#copy to Component#copyFrom.

This should fix #127.

BenjaminAmos avatar Nov 06 '21 10:11 BenjaminAmos

Is it okay for this android agent to also publish the libraries that Java apps will use, or do we need to build those in a separate environment?

keturn avatar Nov 08 '21 20:11 keturn

The android agent is just a standard java agent with the android SDK pre-installed. I don't think that the android gradle plugin is used unless gradle is directly building an android project. I often leave the android local.properties file in when developing and testing and it hasn't adversely affected things before. I can put the standard java modules and android modules into seperate build steps like Destination Sol does though (see here), which would mean that only the android modules are published from an android-enabled build.

BenjaminAmos avatar Nov 08 '21 21:11 BenjaminAmos

@BenjaminAmos you want to change the target branch to develop?

soloturn avatar Jul 28 '24 06:07 soloturn

I have rebased this pull request onto the develop branch now.

BenjaminAmos avatar Jul 28 '24 10:07 BenjaminAmos