Search Gradle plugins

io.github.appspiriment.application

This Gradle plugin configures an Android application module with the necessary setup for Hilt Dependency Injection (DI). It automatically manages versioning by updating the version in a `version.properties` file with each build. The plugin streamlines the setup for the Android application, enabling seamless integration with Hilt DI and automatic version management. Warning: Modifying or changing the `appspirimentlibs.versions.toml` file manually can cause the plugin to fail, as it may get overwritten during plugin updates. For any version changes or dependency additions, it is recommended to update the default `libs.versions.toml` file instead.

https://github.com/appspiriment/AndroidConventionPlugins

Sources: https://github.com/appspiriment/AndroidConventionPlugins

Version 0.0.3.dev-51 (latest)

Created 28 January 2025.

This Gradle plugin configures an Android application module with the necessary setup for Hilt Dependency Injection (DI). It automatically manages versioning by updating the version in a `version.properties` file with each build. The plugin streamlines the setup for the Android application, enabling seamless integration with Hilt DI and automatic version management. Warning: Modifying or changing the `appspirimentlibs.versions.toml` file manually can cause the plugin to fail, as it may get overwritten during plugin updates. For any version changes or dependency additions, it is recommended to update the default `libs.versions.toml` file instead.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.appspiriment.application") version "0.0.3.dev-51"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.appspiriment.application:io.github.appspiriment.application.gradle.plugin:0.0.3.dev-51")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.appspiriment.application")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.appspiriment.application:io.github.appspiriment.application.gradle.plugin:0.0.3.dev-51")
      }
    }
    
    apply(plugin = "io.github.appspiriment.application")
  • Applying plugins to all subprojects .