Search Gradle plugins

Version 1.0.0-rc3 (latest)

Created 24 April 2019.

Gradle plugin to generate code base for SA-MP native plugin wrappers

Add this plugin to your build using the plugins DSL:

plugins {
  id("ch.leadrian.samp.kamp.kamp-plugin-wrapper-generator") version "1.0.0-rc3"
}

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