| 123456789101112131415161718192021222324252627 |
- 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
- }
- }
|