This repository contains comprehensive tutorials for learning Gradle and Kotlin. The project is organized into two separate workspaces that should be opened independently in VSCode.
This repository contains two main workspaces:
A comprehensive step-by-step tutorial covering Gradle fundamentals:
- Basic Gradle concepts and setup
- Build scripts, tasks, and dependencies
- Plugins and multi-module projects
- Testing, custom tasks, and publishing
- Kotlin, Scala, and Swing GUI examples
To use: Open the gradle-lessons/ folder in VSCode as a separate workspace.
Advanced monorepo management using Nx with Gradle and pnpm workspaces:
- Multi-module Gradle project (apps and libs as direct subprojects)
- Nx workspace configuration
- pnpm workspaces for package management
- Build caching and dependency management
- Nx CLI integration with Gradle
To use: Open the lesson16-nx-gradle/ folder in VSCode as a separate workspace.
cd gradle-lessons
./gradlew tasks
./gradlew -p lesson01-intro hellocd lesson16-nx-gradle
pnpm install
pnpm run build- For Gradle fundamentals: Open
gradle-lessons/folder in VSCode - For Nx + Gradle monorepo: Open
lesson16-nx-gradle/folder in VSCode
Each workspace has its own README with detailed instructions.
- Java: JDK 11 or later
- Node.js & pnpm: Required only for
lesson16-nx-gradle/(Node.js 16+, pnpm 8+)
Note: Each workspace should be opened separately in VSCode for the best experience with proper IDE support and configuration.