diff options
author | James Lemieux <jplemieux@google.com> | 2018-12-12 17:53:46 -0800 |
---|---|---|
committer | James Lemieux <jplemieux@google.com> | 2018-12-12 17:54:15 -0800 |
commit | c7455c680fbeaed534518a7d8d29b33b549fd624 (patch) | |
tree | b9bbadadaff48fd38d930985c2fd5ea408f42e39 /processor | |
parent | 5a6360a5aea02cae6e6269ebce73ade670538b02 (diff) | |
download | robolectric-shadows-c7455c680fbeaed534518a7d8d29b33b549fd624.tar.gz |
Remove unused areas of robolectric
Remove unused areas of robolectric in preparation for syncing
robolectric source from Piper. This includes:
- all things gradle
- all things blaze
- scripts for downloading dependencies
- integration tests
Test: make -j56 Run_robolectric_test_suite
Change-Id: Iea452b1b9a8e1f807ad06bc37d1fbac046b36d29
Diffstat (limited to 'processor')
-rw-r--r-- | processor/build.gradle | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/processor/build.gradle b/processor/build.gradle deleted file mode 100644 index ebdb4b780..000000000 --- a/processor/build.gradle +++ /dev/null @@ -1,48 +0,0 @@ -new RoboJavaModulePlugin( - deploy: true -).apply(project) - -class GenerateSdksFileTask extends DefaultTask { - @OutputFile File outFile - - @TaskAction - public void writeProperties() throws Exception { - File outDir = outFile.parentFile - if (!outDir.directory) outDir.mkdirs() - outFile.withPrintWriter { out -> - out << "# GENERATED by ${this} -- do not edit\n" - - AndroidSdk.ALL_SDKS.each { androidSdk -> - def config = project.configurations.create("processor_sdk${androidSdk.apiLevel}") - project.dependencies.add("processor_sdk${androidSdk.apiLevel}", androidSdk.coordinates) - def sdkPath = config.files.first().getAbsolutePath() - out << "${sdkPath}\n" - } - } - } -} - -task('generateSdksFile', type: GenerateSdksFileTask) { - dependsOn(tasks['processResources']) - - File outDir = project.sourceSets['main'].output.resourcesDir - outFile = new File(outDir, 'sdks.txt') -} - -tasks['classes'].dependsOn(generateSdksFile) - -dependencies { - implementation project(":annotations") - - compileOnly "com.google.code.findbugs:jsr305:3.0.2" - implementation "com.google.guava:guava:20.0" - implementation "com.google.code.gson:gson:2.8.2" - implementation 'ch.raffael.pegdown-doclet:pegdown-doclet:1.3' - - implementation files(org.gradle.internal.jvm.Jvm.current().getToolsJar()) - - testImplementation "junit:junit:4.12" - testImplementation "org.mockito:mockito-core:2.5.4" - testImplementation "com.google.testing.compile:compile-testing:0.15" - testImplementation "com.google.truth:truth:0.42" -} |