https://github.com/2bab/koge
Notebook for Kotlin-oriented Gradle Essential.
https://github.com/2bab/koge
Last synced: about 1 year ago
JSON representation
Notebook for Kotlin-oriented Gradle Essential.
- Host: GitHub
- URL: https://github.com/2bab/koge
- Owner: 2BAB
- License: apache-2.0
- Created: 2021-09-21T14:31:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T20:06:37.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T19:55:40.756Z (about 1 year ago)
- Homepage:
- Size: 3.04 MB
- Stars: 206
- Watchers: 4
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KOGE

Self-study handbook for Kotlin-oriented Gradle Essential.
Read it in [English](https://koge.2bab.com/#/) or [简体中文](https://koge.2bab.com/#/zh-cn/).
For advanced Gradle and Android Gradle Plugin (AGP) skills with Kotlin, please refer to my latest book: *[Extending Android Builds](https://eab.2bab.com)*. KOGE is served as a preparatory lesson for this book.
- Basis
- Getting started:
- Gradle
- Script
- Plugin
- Root build.gradle(.kts)
- Module's build.gradle(.kts)
- settings.gradle(.kts)
- CLI
- Kotlin DSL:
- High-order functions and lambdas
- Type-safe builders
- @DslMarker
- Common Kotlin DSL (Common Groovy DSL)
- Gradle Kotlin DSL
- DSL Configuration:
- Java Plugin
- Kotlin Plugin
- Android Gradle Plugin
- Dependencies
- 3rd Party Plugins
- Regular Tasks:
- Common Tasks
- Java Tasks
- Android Tasks
- Lifecycle:
- Initialization
- Configuration
- Execution
- Java Plugin Lifecycle
- Android Gradle Plugin Lifecycle
- Customization
- Advanced Scripts:
- init.gradle(.kts)
- Script Plugin
- buildSrc
- Manage Dependency version
- Arguments:
- Gradle Flags
- CLI Aruguments
- gradle.properties
- System Properties
- Build Time Optimization
- Customized Task:
- Authoring Task
- Get APK / AAR / AAB
- Modify Manifest
- Performance Optimization:
- Upgrade Gradle/AGP/Kotlin frequently
- Tricks that work and may not work