Skip to content

Developing the library

Kaoru Shoji edited this page Feb 2, 2015 · 1 revision

Clone the project

  • Open terminal, and execute git clone https://github.com/kshoji/javax.sound.midi-for-Android.
  • Wait a moment for downloading. Then, you can see the javax.sound.midi-for-Android directory.
  • Select Android Studio's Import Project... menu, and choose the javax.sound.midi-for-Android directory.

Update the snapshot

Execute this on the command line, at javax.sound.midi-for-Android/javax.sound.midi directory.

../gradlew uploadArchives

This will update local file repository, it doesn't send any files.
Then, xml and aar files are generated in repository directory. Commit these and push to the repository.

Execute gradle manually

You can manually execute gradle build from terminal.
Like this:

  • ./gradlew assembleDebug at javax.sound.midi-for-Android directory
    • This makes building javax.sound.midi-debug.aar