代码拉取完成,页面将自动刷新
同步操作将从 baomidou/mybatis-plus 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
ext {
configuration = [
javaVersion = JavaVersion.VERSION_1_7
]
libraries = [
mybatisSpringVersion = '1.3.2',
mybatisVersion = '3.4.6',
springVersion = '4.3.5.RELEASE',
springBootVersion = '1.5.9.RELEASE',
]
dependencies = [
"jsqlparser": "com.github.jsqlparser:jsqlparser:1.1",
"mybatis-spring": "org.mybatis:mybatis-spring:${mybatisSpringVersion}",
"mybatis": "org.mybatis:mybatis:${mybatisVersion}",
"velocity":"org.apache.velocity:velocity-engine-core:2.0",
"slf4j-api":"org.slf4j:slf4j-api:1.7.25",
"junit":"junit:junit:4.12",
"mockito":"org.mockito:mockito-core:2.13.0",
"commons-dbcp2":"org.apache.commons:commons-dbcp2:2.1.1",
"mybatis-ehcache":"org.mybatis.caches:mybatis-ehcache:1.1.0",
"logback-classic":"ch.qos.logback:logback-classic:1.2.2",
"sqlserver":"com.microsoft.sqlserver:sqljdbc4:4.0",
"postgresql":"org.postgresql:postgresql:9.4.1212",
"oracle":"com.oracle:ojdbc14:10.2.0.5.0",
"h2":"com.h2database:h2:1.4.194",
"mysql":"mysql:mysql-connector-java:5.1.38",
"aspectjweaver":"org.aspectj:aspectjweaver:1.8.9",
"servlet-api":"javax.servlet:servlet-api:2.5",
"lombok":"org.projectlombok:lombok:1.16.16",
"hikaricp":"com.zaxxer:HikariCP:2.7.0",
"spring-test":"org.springframework:spring-test:${springVersion}",
"spring-webmvc":"org.springframework:spring-webmvc:${springVersion}",
"spring-context-support":"org.springframework:spring-context-support:${springVersion}",
"spring-jdbc":"org.springframework:spring-jdbc:${springVersion}",
"spring-tx":"org.springframework:spring-tx:${springVersion}",
"druid":"com.alibaba:druid:1.0.29",
"fastjson":"com.alibaba:fastjson:1.2.37",
"tomcatjdbc":"org.apache.tomcat:tomcat-jdbc:9.0.2",
"freemarker":"org.freemarker:freemarker:2.3.9",
// spring boot
"springboot-autoconfigure":"org.springframework.boot:spring-boot-autoconfigure:${springBootVersion}",
"springboot-configuration-processor":"org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}",
"springboot-starter-jdbc":"org.springframework.boot:spring-boot-starter-jdbc:${springBootVersion}",
]
}
allprojects{
group = 'com.baomidou'
version = '2.2.0'
}
description = "Mybatis 增强工具包 - 只做增强不做改变,简化CRUD操作"
buildscript {
repositories {
maven { url "https://repo.spring.io/plugins-release" }
}
dependencies {
classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7")
}
}
configure(subprojects) {
apply plugin: 'propdeps'
apply plugin: 'propdeps-idea'
apply plugin: 'propdeps-eclipse'
}
subprojects{
apply plugin: 'java'
apply plugin: 'signing'
apply plugin: 'maven-deploy'
sourceCompatibility = "${javaVersion}"
targetCompatibility = "${javaVersion}"
//noinspection GroovyAssignabilityCheck
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenLocal()
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "http://www.cameliatk.jp/maven2/repository/thirdparty"}
jcenter()
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
javadoc {
options {
encoding "UTF-8"
charSet 'UTF-8'
author true
version true
failOnError false
links "http://docs.oracle.com/javase/7/docs/api"
}
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from 'build/docs/javadoc'
}
artifacts {
archives sourcesJar
archives javadocJar
}
// gradle clean build uploadArchives -Dun=用户名 -Dps=密码 -x test
uploadArchives {
repositories {
mavenDeployer {
def isLocal = Boolean.valueOf(project.properties.get("local"))
if(isLocal){
repository(url: uri('../repo'))
}else {
signing {
sign configurations.archives
}
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
def userName = System.getProperty("un")
def passWord = System.getProperty("ps")
pom.version = "$project.version"
pom.artifactId = "$project.name"
pom.groupId = "$project.group"
repository(url: pom.version.endsWith('SNAPSHOT') ? 'https://oss.sonatype.org/content/repositories/snapshots/'
:'https://oss.sonatype.org/service/local/staging/deploy/maven2/') {
//noinspection GroovyAssignabilityCheck
authentication(userName: userName, password: passWord)
}
}
pom.project {
//noinspection GroovyAssignabilityCheck
name 'mybatis-plus'
packaging 'jar'
description 'An enhanced toolkit of Mybatis to simplify development.'
url 'https://github.com/baomidou/mybatis-plus'
scm {
connection 'scm:git@github.com:Codearte/gradle-nexus-staging-plugin.git'
developerConnection 'scm:git@github.com:Codearte/gradle-nexus-staging-plugin.git'
url 'https://github.com/baomidou/mybatis-plus'
}
licenses {
license {
//noinspection GroovyAssignabilityCheck
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id 'baomidou'
//noinspection GroovyAssignabilityCheck
name 'hubin'
email 'jobob@qq.com'
}
}
}
}
}
}
compileJava.dependsOn(processResources)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。