12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- apply plugin: 'com.android.library'
-
- android {
- compileSdkVersion 23
- buildToolsVersion "23.0.3"
-
- defaultConfig {
- minSdkVersion 16
- targetSdkVersion 23
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled false
- }
- debug {
- minifyEnabled false
- }
- }
- lintOptions {
- abortOnError false
- }
-
- testOptions {
- unitTests.all { t ->
- reports {
- html.enabled true
- }
- testLogging {
- events "passed", "skipped", "failed", "standardOut", "standardError"
- }
- afterSuite { desc, result ->
- if (!desc.parent) { // will match the outermost suite
- def output = " ${result.resultType} (${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped) "
- def repeatLength = output.length()
- println '\n' + ('-' * repeatLength) + '\n' + output + '\n' + ('-' * repeatLength) + '\n'
-
- println "see report at file://${t.reports.html.destination}/index.html"
- }
- }
- }
- }
- }
-
- dependencies {
- compile fileTree(dir: "libs", include: ["*.jar"])
-
- compile "com.android.support:appcompat-v7:23.3.0"
- compile 'com.android.support:design:23.3.0'
-
- // node_modules
- compile "com.facebook.react:react-native:+"
-
- // third party
- compile "com.aurelhubert:ahbottomnavigation:1.3.3"
- compile 'com.balysv.materialmenu:material-menu-toolbar:1.5.4'
-
- // tests
- testCompile "junit:junit:4.12"
- testCompile "org.robolectric:robolectric:3.1.1"
- testCompile 'org.assertj:assertj-core:3.5.2'
- }
|