代码拉取完成,页面将自动刷新
同步操作将从 wibim/gps180 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
buildscript {
ext {
springBootVersion = '2.3.0.RELEASE'
transmodeGradleDockerVersion=1.2
}
repositories {
mavenCentral()
mavenLocal()
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath "io.franzbecker:gradle-lombok:3.1.0"
}
}
allprojects {
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
repositories {
mavenCentral()
mavenLocal()
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://repo.maven.apache.org/maven2" }
}
group = 'com.gps180'
version = '1.0'
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'idea'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
fastjsonVersion = '1.2.70'
guavaVersion = '29.0-jre'
lombokVersion = '1.18.12'
mysqlConnectorVersion = '8.0.20'
mybatisPlusVersion = '3.3.2'
druidBootStarterVersion = '1.1.22'
nettyVersion = '4.1.49.Final'
}
[compileJava, compileTestJava].each() {
it.options.encoding = "UTF-8"
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
task packageSources(type: Jar) {
from sourceSets.main.allSource
}
task prepareKotlinBuildScriptModel {
}
// task clearJar(type: Delete) {
// delete "$buildDir\\libs\\lib"
// }
//
// task copyJar(type: Copy, dependsOn: 'clearJar') {
// from configurations.runtimeClasspath
// into "$buildDir\\libs\\lib"
// }
//// 拷贝配置文件
// task copyResources(type: Copy) {
// delete "$buildDir\\libs\\config"
// from('src/main/resources')
// into 'build/libs/resources'
// }
//
//
// jar {
////这里排除resources下的文件及文件夹
// excludes = ["lib/**","*.properties","*.xml","*.yml","mybatis/**"]
// dependsOn clearJar
// dependsOn copyJar
//
// dependsOn copyResources
//
// //通过configurations.runtime拿到所有的运行时的依赖jar包,然后.each遍历他,通过it.name获取到每个的jar包的name,赋值
// manifest {
// attributes 'Main-Class': '*.Application'
// attributes 'Class-Path': 'resources/ '+ configurations.runtimeClasspath.files.collect { "lib/$it.name" }.join(' ')
// }
// }
artifacts.archives packageSources
dependencies {
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。