miduo_server/hotfix/build.gradle

27 lines
539 B
Groovy

plugins {
id 'java'
}
group 'com.ljsd'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
jar {
baseName = 'hotfix'
manifest{
attributes 'Manifest-Version':'1.0'
attributes 'Premain-Class':'com.ljsd.jieling.hotfix.JavaAgent'
attributes 'Agent-Class':'com.ljsd.jieling.hotfix.JavaAgent'
attributes 'Can-Retransform-Classes':true
attributes 'Can-Redefine-Classes':true
}
}