diff --git a/build.gradle b/build.gradle index 82a6840..c70895c 100644 --- a/build.gradle +++ b/build.gradle @@ -18,8 +18,6 @@ apply plugin: 'java' apply plugin: 'kotlin' -apply plugin: 'com.google.protobuf' - sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -31,7 +29,6 @@ buildscript { } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.5' } } @@ -42,8 +39,6 @@ repositories { dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - compile "com.google.protobuf:protobuf-lite:3.0.0" - compile "org.snakeyaml:snakeyaml-engine:1.0" compile 'net.portswigger.burp.extender:burp-extender-api:1.7.22' compile 'com.esotericsoftware:minlog:1.3' @@ -52,43 +47,7 @@ dependencies { } jar { - sourceSets { - sourceSets.main.java.srcDirs += 'build/generated/source/proto/main/java' - } - from('src/main/yaml') { - include('*.yaml') - } - from('static') { - include('mime.pb') - } from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } } - -protobuf { - protoc { artifact = 'com.google.protobuf:protoc:3.0.0' } - plugins { - javalite { - artifact = 'com.google.protobuf:protoc-gen-javalite:3.0.0' - } - } - generateProtoTasks { - all().each { task -> - task.builtins { - remove java - } - task.plugins { - javalite { } - } - } - } -} - -sourceSets { - main { - java { - srcDirs += file("${protobuf.generatedFilesBaseDir}/main/javalite") - } - } -}