Search Gradle plugins

io.github.appspiriment.project

This project plugin simplifies the initial setup and version management for an Android application. It removes unnecessary configurations from the app module, creates the `appspirimentlibs.versions.toml` file corresponding to the plugin version, and adds the required `appspiriment` plugin exclusively to the app module (without affecting any other application modules or libraries). Additionally, the plugin configures the `appspirimentlibs.versions.toml` in the `settings.gradle.kts`. **Note:** If your project is using a `settings.gradle` file in Groovy, it will automatically convert it to the Kotlin DSL (`settings.gradle.kts`). You just need to add the plugin with correct version to the root build.gradle.kts (don't use alias, add it directly at first) and sync. This plugin is ideal for setting up a new project with a clean configuration or updating plugin versions. To update versions, simply update the project plugin version and sync. Be aware that this plugin will remove all configurations in the app module's Gradle file, so ensure that no additional configurations are lost.

https://github.com/appspiriment/AndroidConventionPlugins

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

Version 0.0.3.dev-51 (latest)

Created 28 January 2025.

This project plugin simplifies the initial setup and version management for an Android application. It removes unnecessary configurations from the app module, creates the `appspirimentlibs.versions.toml` file corresponding to the plugin version, and adds the required `appspiriment` plugin exclusively to the app module (without affecting any other application modules or libraries). Additionally, the plugin configures the `appspirimentlibs.versions.toml` in the `settings.gradle.kts`. **Note:** If your project is using a `settings.gradle` file in Groovy, it will automatically convert it to the Kotlin DSL (`settings.gradle.kts`). You just need to add the plugin with correct version to the root build.gradle.kts (don't use alias, add it directly at first) and sync. This plugin is ideal for setting up a new project with a clean configuration or updating plugin versions. To update versions, simply update the project plugin version and sync. Be aware that this plugin will remove all configurations in the app module's Gradle file, so ensure that no additional configurations are lost.

Add this plugin to your build using the plugins DSL:

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