/mybatis-generator-plugin

Mybatis Gradle Generator Plugin

Primary LanguageGroovyApache License 2.0Apache-2.0

Mybatis Generator Plugin

Build Status

Usage

In your build.gradle file, add following plugin:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.arenagod.gradle:mybatis-generator-plugin:1.4"
  }
}

apply plugin: "com.arenagod.gradle.MybatisGenerator"

configurations {
    mybatisGenerator
}

mybatisGenerator {
    verbose = true
    configFile = 'src/main/resources/autogen/generatorConfig.xml'
}