mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
34 lines
768 B
Groovy
34 lines
768 B
Groovy
plugins {
|
|
id 'java'
|
|
id "com.gradleup.shadow" version "8.3.6"
|
|
}
|
|
|
|
group = 'com.reajason.javaweb'
|
|
version = '1.0.0'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
sourceCompatibility = JavaVersion.VERSION_1_6
|
|
targetCompatibility = JavaVersion.VERSION_1_6
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'net.java.dev.jna:jna:5.17.0'
|
|
implementation 'net.java.dev.jna:jna-platform:5.17.0'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Premain-Class': 'Agent'
|
|
attributes 'Agent-Class': 'Agent'
|
|
attributes 'Main-Class': "Main"
|
|
attributes 'Can-Redefine-Classes': true
|
|
attributes 'Can-Retransform-Classes': true
|
|
attributes 'Can-Set-Native-Method-Prefix': true
|
|
}
|
|
}
|
|
|
|
jar.finalizedBy shadowJar
|