/gradle-recipes

Ready-to-use recipes for common build customizations that showcase the Android Gradle plugin's public APIs and DSL.

Primary LanguageKotlinApache License 2.0Apache-2.0

Android Plugin for Gradle cookbook

This repository contains ready-to-use recipes for common build customizations that showcase the Android Gradle plugin's public APIs and DSL.

The top level folder represents different ways to use the APIs:

  • From Groovy-based build.gradle files
  • From Kotlin-based build.gradle.kts files
  • From buildSrc

The Master branch currently represents the state of AGP 4.2.

The agp-4.2 branch currently represents the state of AGP 4.2.

The agp-7.0 branch currently represents the state of the lasted AGP 7.0 beta

The agp-7.1 branch currently represents the state of the lasted AGP 7.1 alpha

License

Copyright 2020 The Android Open Source Project

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.