Search Gradle plugins

se.rosenhorn.scalapb

Owner: Håkan

This plugin uses the [ScalaPB](http://scalapb.github.io) compiler to generate Scala case classes from protocol buffers and put them under the managed sources directory in your project.

https://github.com/hrosenhorn/scalapb-gradle-plugin

Sources: git@github.com:hrosenhorn/scalapb-gradle-plugin.git

Version 1.1.8 (latest)

Created 25 July 2018.

THIS IS A FORK OF https://github.com/CharlesAHunt/scalapb-gradle-plugin until PR is accepted! This plugin uses the [ScalaPB](http://scalapb.github.io) compiler to generate Scala case classes from protocol buffers and put them under the managed sources directory in your project.

Add this plugin to your build using the plugins DSL:

plugins {
  id("se.rosenhorn.scalapb") version "1.1.8"
}

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