Loading repository data…
Loading repository data…
android / repository
Large Android projects generator

Optimise your Android Studio builds, by creating generated projects. Inspired by GradleBuildExperiment. A tool to generate real life Java and Kotlin Android projects to analyze and improve build times.
Create a real life complexity Android project that mimics your own and observe the build times. If the build times of the generated project are way smaller than yours, it might be worth inspecting deeply your build configs and optimize.
Grab the latest JAR
and run java -jar as-poet.jar.
Android Studio Poet supports the following command line arguments
java -jar as-poet.jar MyConfig.jsonjava -jar as-poet.jar <path to a folder with configs> Android Studio Poet
will crawl the folder recursively and execute each config in turn../gradlew aspoet:fatJarjava -jar aspoet/build/libs/aspoet-all.jarThe generated sources will include the basic functionality of method calling both in class itself and between the generated classes, both in Java and Kotlin
The generated build.gradle files will include other modules as dependencies
You can control Android resources (images, layouts etc')
You can control product flavors
You can have both source and resources inter-module dependencies
dataBindingConfig for Data Binding
listenerCount to indicate the number of data variables.kapt to specify whether we want to use Java Annotation Processor or Kapt to process data bindings.viewBinding for View Binding.composeConfig for Compose.
actionCount to indicate the number of clickable actions.This is not an official Google product.
Copyright 2021 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied. See the License for the specific language governing permissions and limitations under
the License.