Skip to content

A sample Android application written in the Declarative Gradle DSL, using the prototype Declarative Android `androidApplication` Software Type defined in the `org.gradle.experimental.android-ecosystem` ecosystem plugin.

License

Notifications You must be signed in to change notification settings

gradle/declarative-samples-android-app

Repository files navigation

declarative-samples-android-app

A sample Android application written in the Declarative Gradle DSL, using the prototype Declarative Gradle androidApplication Software Type defined in the org.gradle.experimental.android-ecosystem ecosystem plugin.

Building and Running

This sample shows the definition of a multiproject Android application implemented using Kotlin 2.0.21 source code. The project is the result of reproducing the project produced by the gradle init command in Gradle 8.9 as an Android project.

To build the project without running, use:

./gradlew build

To run the application, first install it on a connected Android device using:

./gradlew :app:installDebug

In IntelliJ IDEA or Android Studio you can use the app run configuration to launch the app in an emulator to see a hello world message.

About

A sample Android application written in the Declarative Gradle DSL, using the prototype Declarative Android `androidApplication` Software Type defined in the `org.gradle.experimental.android-ecosystem` ecosystem plugin.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published