diff --git a/HelpStackExample/AndroidManifest.xml b/HelpStackExample/AndroidManifest.xml index 1a5a61f..5035e4b 100644 --- a/HelpStackExample/AndroidManifest.xml +++ b/HelpStackExample/AndroidManifest.xml @@ -8,7 +8,7 @@ android:minSdkVersion="9" android:targetSdkVersion="22" /> - + - + diff --git a/HelpStackExample/build.gradle b/HelpStackExample/build.gradle index 3bf85e2..d29bad6 100644 --- a/HelpStackExample/build.gradle +++ b/HelpStackExample/build.gradle @@ -1,15 +1,43 @@ +buildscript { + repositories { + jcenter() + maven { url 'https://maven.fabric.io/public' } + } + + dependencies { + classpath 'io.fabric.tools:gradle:1.25.1' + classpath 'com.google.gms:google-services:3.2.0' + } +} + apply plugin: 'com.android.application' +apply plugin: 'io.fabric' -dependencies { - compile fileTree(dir: 'libs', include: '*.jar') - compile project(':helpstack') +repositories { + mavenCentral() + maven { url 'https://maven.fabric.io/public' } +} - compile 'com.android.support:appcompat-v7:23.0.0' +dependencies { + implementation fileTree(dir: 'libs', include: '*.jar') + implementation project(':helpstack') + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation('com.crashlytics.sdk.android:crashlytics:2.6.1@aar') { + transitive = true + } } android { - compileSdkVersion 23 - buildToolsVersion "23.0.0" + compileSdkVersion 27 + buildToolsVersion '27.0.3' + + defaultConfig { + applicationId "com.tenmiles.helpstack" + minSdkVersion 14 + targetSdkVersion 27 + versionCode 1 + versionName "1.0" + } sourceSets { main { @@ -23,7 +51,7 @@ android { } // Move the tests to tests/java, tests/res, etc... - instrumentTest.setRoot('tests') + androidTest.setRoot('tests') // Move the build types to build-types/ // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ... @@ -40,4 +68,5 @@ android { exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' } + } diff --git a/HelpStackExample/libs/crashlytics.jar b/HelpStackExample/libs/crashlytics.jar deleted file mode 100644 index 978c4cf..0000000 Binary files a/HelpStackExample/libs/crashlytics.jar and /dev/null differ diff --git a/HelpStackExample/res/layout/fragment_main.xml b/HelpStackExample/res/layout/fragment_main.xml index ad49cf0..46f54c5 100644 --- a/HelpStackExample/res/layout/fragment_main.xml +++ b/HelpStackExample/res/layout/fragment_main.xml @@ -1,19 +1,27 @@ -