mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
65 lines
2.0 KiB
Groovy
65 lines
2.0 KiB
Groovy
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
group = 'io.github.reajason'
|
|
description = "MemShell Generator for Java"
|
|
version = rootProject.version
|
|
|
|
// 测试使用 JDK17 进行编译与运行
|
|
tasks.withType(Test).configureEach {
|
|
javaLauncher = javaToolchains.launcherFor {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
tasks.named('compileTestJava') {
|
|
javaCompiler = javaToolchains.compilerFor {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
finalizedBy jacocoTestReport
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":memshell-party-common")
|
|
implementation project(":deserialize")
|
|
|
|
implementation project(":memshell")
|
|
implementation project(":memshell-java8")
|
|
implementation 'net.bytebuddy:byte-buddy'
|
|
implementation 'org.ow2.asm:asm-commons'
|
|
|
|
implementation 'net.java.dev.jna:jna'
|
|
implementation 'net.java.dev.jna:jna-platform'
|
|
|
|
implementation 'javax.servlet:javax.servlet-api'
|
|
implementation 'javax.websocket:javax.websocket-api'
|
|
|
|
implementation 'org.apache.bcel:bcel'
|
|
|
|
implementation 'commons-io:commons-io'
|
|
implementation 'org.apache.commons:commons-lang3'
|
|
implementation 'com.squareup.okhttp3:okhttp'
|
|
implementation 'ch.qos.logback:logback-classic'
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind'
|
|
|
|
implementation 'org.springframework:spring-webmvc'
|
|
implementation 'org.springframework:spring-webflux'
|
|
implementation 'io.projectreactor.netty:reactor-netty-core'
|
|
|
|
testImplementation platform('org.junit:junit-bom')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
testImplementation "org.mockito:mockito-core"
|
|
testImplementation 'org.mockito:mockito-junit-jupiter'
|
|
} |