update latest gradle & spring;

fix new spring package dependencies
This commit is contained in:
2023-04-18 09:58:52 +08:00
parent b099d42883
commit 230ceea0fa
11 changed files with 30 additions and 40 deletions

View File

@@ -1,12 +1,13 @@
buildscript {
ext {
kotlin_version = '1.6.10'
spring_version = "2.7.0"
kotlin_version = '1.8.20'
spring_version = "3.0.5"
}
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/public' }
mavenCentral()
}
@@ -22,14 +23,16 @@ subprojects {
buildscript {
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/public' }
mavenCentral()
}
}
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/public' }
mavenCentral()
}
@@ -44,16 +47,6 @@ subprojects {
testApi group: 'junit', name: 'junit', version: '4.12'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
publishing {
// repositories {
// maven {