Home | History | Annotate | Download | only in benchmark-base
      1 description = 'Conscrypt: Benchmarks Base'
      2 
      3 evaluationDependsOn(':conscrypt-openjdk')
      4 
      5 ext {
      6     preferredNativeConfiguration = project(':conscrypt-openjdk').preferredNativeConfiguration
      7     preferredNativeFileDir = project(':conscrypt-openjdk').preferredNativeFileDir
      8 }
      9 
     10 sourceSets {
     11     main {
     12         resources {
     13             // This shouldn't be needed but seems to help IntelliJ locate the native artifact.
     14             srcDirs += preferredNativeFileDir
     15         }
     16     }
     17 }
     18 
     19 dependencies {
     20     compile project(':conscrypt-openjdk'),
     21             project(':conscrypt-testing'),
     22             libraries.junit,
     23             libraries.netty_handler,
     24             libraries.netty_tcnative
     25 
     26     // Add the preferred native openjdk configuration for this platform.
     27     compile project(path: ':conscrypt-openjdk', configuration: "$preferredNativeConfiguration")
     28 }
     29 
     30 // Don't include this artifact in the distribution.
     31 tasks.install.enabled = false
     32 tasks.uploadArchives.enabled = false;
     33