entity-修改仓库地址,集成mybatisGenerator
This commit is contained in:
@@ -6,13 +6,13 @@ ext {
|
||||
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: "com.arenagod.gradle.MybatisGenerator"
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
repositories {
|
||||
//mavenCentral()
|
||||
maven {
|
||||
url 'http://maven.aliyun.com/nexus/content/groups/public/'
|
||||
url 'https://maven.aliyun.com/repository/public'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,9 +57,31 @@ dependencies {
|
||||
compile group: 'org.java-websocket', name: 'Java-WebSocket', version: '1.3.9'
|
||||
compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.10'
|
||||
compile group: 'dom4j', name: 'dom4j', version: '1.6.1'
|
||||
compile "org.bouncycastle:bcprov-jdk15:1.46"// https://mvnrepository.com/artifact/com.github.xuwei-k/html2image
|
||||
compile "org.bouncycastle:bcprov-jdk15:1.46"
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
apply plugin: "com.arenagod.gradle.MybatisGenerator"
|
||||
|
||||
configurations {
|
||||
mybatisGenerator
|
||||
}
|
||||
|
||||
mybatisGenerator {
|
||||
verbose = true
|
||||
configFile = 'src/main/resources/tools/generatorConfig.xml'
|
||||
}
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
url 'https://maven.aliyun.com/repository/gradle-plugin'
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath("gradle.plugin.com.arenagod.gradle:mybatis-generator-plugin:1.4")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user