1234567891011121314151617181920212223242526272829303132333435 |
- subprojects {
- apply plugin: 'java'
- apply plugin: 'idea'
-
- java {
- toolchain {
- languageVersion.set(JavaLanguageVersion.of(23))
- }
- }
- repositories {
-
- mavenLocal()
-
- maven { url "https://maven.aliyun.com/repository/public" }
-
- maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
-
- mavenCentral()
- }
-
- tasks.withType(JavaCompile).configureEach {
- options.encoding = 'UTF-8'
- options.incremental = true
- }
-
- task copyAllDependencies(type: Copy) {
- from configurations.runtimeClasspath
- into "${buildDir}/libs/lib"
- }
- }
|