All Projects → zserge → buckbone

zserge / buckbone

Licence: MIT license
A simple android project generator for the Buck build system

Programming Languages

shell
77523 projects

Buckbone

A simple android project generator for the Buck build system.

Install

sudo wget https://raw.githubusercontent.com/zserge/buckbone/master/buckbonejava -O /usr/local/bin
sudo chmod +x /usr/local/bin/buckbonejava

Usage

buckbone com.example.myapp /path/to/app
cd /path/to/app
buck build app

Sources would be localed at /path/to/app/java/com/example/myapp. Android resources would be located at /path/to/app/res/com/example/myapp/res.

Generated java project structure

# Top-level Buck configuration
./.buckconfig

# Application configuration
./apps/com.example.buck/BUCK
./apps/com.example.buck/debug.keystore
./apps/com.example.buck/debug.keystore.properties
./apps/com.example.buck/AndroidManifest.xml
./apps/DEFS

# Java code
./java/com/example/buck/BUCK
./java/com/example/buck/MainActivity.java

# Android resources and assets
./res
./res/AndroidManifest.xml
./res/com/example/buck/BUCK
./res/com/example/buck/res/values/strings.xml
./res/com/example/buck/assets

Kotlin

There is also a buckbonekotlin to generate the Buck skeleton for the android app written in Kotlin, but it's experimental.

Usage:

./buckbonekotlin com.example.myapp /path/to/app /path/to/kotlinc
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].