Search Gradle plugins

com.sandpolis.build.protobuf

This plugin applies configuration for modules containing protobuf code

https://sandpolis.com

Sources: https://github.com/sandpolis/com.sandpolis.build

Version 0.3 (latest)

Created 28 November 2021.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact This plugin applies configuration for modules containing protobuf code

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.sandpolis.build.protobuf") version "0.3"
}

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