Skip to content

Commit

Permalink
refactor: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
TUBB committed Sep 3, 2019
1 parent 401c688 commit b0164a4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 96 deletions.
5 changes: 1 addition & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':friendlycrash')
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

This file was deleted.

17 changes: 0 additions & 17 deletions app/src/test/java/io/github/tubb/fcrash/sample/ExampleUnitTest.kt

This file was deleted.

22 changes: 14 additions & 8 deletions friendlycrash/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 28
versionCode 102
versionName "1.0.2"
versionCode 103
versionName "1.0.3"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand All @@ -25,14 +25,20 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "android.arch.lifecycle:extensions:1.1.1"
implementation("android.arch.lifecycle:extensions:1.1.1") {
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'support-compat'
exclude group: 'com.android.support', module: 'support-fragment'
exclude group: 'com.android.support', module: 'support-core-ui'
exclude group: 'com.android.support', module: 'support-core-utils'
}
annotationProcessor "android.arch.lifecycle:compiler:1.1.1"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}

Properties properties = new Properties()
properties.load(project.rootProject.file("local.properties").newDataInputStream())

project.ext {
mavDevelopers = ["TUBB":"BingBing Tu"]
mavSiteUrl = "https://github.com/TUBB/FriendlyCrash"
Expand All @@ -41,8 +47,8 @@ project.ext {
mavLibraryLicenses = ["Apache-2.0":'http://www.apache.org/licenses/LICENSE-2.0.txt']
mavLibraryDescription = "Friendly notify user when app crashed if app moved to background"
mavPublishToRemoteRepo = true
mavRemoteRepoUser = "TUBB"
mavRemoteRepoPassword = "2553441abc"
mavRemoteRepoUser = properties.getProperty("repo.username")
mavRemoteRepoPassword = properties.getProperty("repo.pwd")
mavRepoRemoteUrl = "https://jitpack.io"
}

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit b0164a4

Please sign in to comment.