代码拉取完成,页面将自动刷新
同步操作将从 baomidou/shaun 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
ext {
javaVersion = JavaVersion.VERSION_1_8
pac4jVersion = "4.5.1"
springBootVersion = "2.3.10.RELEASE"
shiroVersion = "1.7.1"
togglzVersion = "2.9.4"
}
allprojects {
group = "com.baomidou"
version = "1.2"
repositories {
mavenLocal()
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}
description = "基于 pac4j-jwt 的 WEB 安全组件"
subprojects {
apply plugin: 'java-library'
apply plugin: 'io.freefair.lombok'
// apply plugin: 'com.github.hierynomus.license'
sourceCompatibility = "${javaVersion}"
targetCompatibility = "${javaVersion}"
dependencies {
implementation(platform("org.pac4j:pac4j:${pac4jVersion}"))
implementation(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))
annotationProcessor(platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}"))
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.mockito:mockito-junit-jupiter")
testImplementation("ch.qos.logback:logback-classic")
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.warnings = false
options.deprecation = true
options.compilerArgs += ["-parameters"]
}
tasks.withType(GenerateModuleMetadata) {
enabled = false
}
// license {
// encoding = "UTF-8"
// header = rootProject.file("license.txt")
// include "**/*.java"
// exclude "**/test/**/*.java"
// exclude "**/*Test.java"
// mapping "java", "SLASHSTAR_STYLE"
// ext.year = Calendar.getInstance().get(Calendar.YEAR)
// }
//noinspection GroovyAssignabilityCheck
task sourcesJar(type: Jar) {
archiveClassifier = "sources"
from sourceSets.main.allJava
}
javadoc {
afterEvaluate {
configure(options) {
encoding "UTF-8"
charSet 'UTF-8'
author true
version true
failOnError false
links "http://docs.oracle.com/javase/8/docs/api"
}
}
}
task javadocJar(type: Jar) {
archiveClassifier = "javadoc"
from javadoc
}
test {
useJUnitPlatform()
}
tasks.whenTaskAdded { task ->
if (task.name.contains('signMavenJavaPublication')) {
task.enabled = new File(project.property('signing.secretKeyRingFile') as String).isFile()
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。