Updated dependencies. Migrated to androidx (mostly). Stripping JSONRPC

next.
This commit is contained in:
2018-12-01 14:43:18 +01:00
parent 97b1f37164
commit ac5cb93fd9
24 changed files with 194 additions and 344 deletions

View File

@@ -23,24 +23,17 @@ buildscript {
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.jakewharton.hugo:hugo-plugin:1.2.1'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.hugo'
apply plugin: 'com.github.ben-manes.versions'
repositories {
maven { url "https://jitpack.io" }
}
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
compileSdkVersion 28
buildToolsVersion '28.0.3'
lintOptions {
abortOnError false
@@ -48,48 +41,31 @@ android {
defaultConfig {
applicationId "com.idlegandalf.ledd"
minSdkVersion 18
targetSdkVersion 25
versionCode System.getenv("BUILD_NUMBER") as Integer ?: 50
versionName "1.0.4-SNAPSHOT"
minSdkVersion 24
targetSdkVersion 28
versionCode System.getenv("BUILD_NUMBER") as Integer ?: 100
versionName "2.0.0-SNAPSHOT"
archivesBaseName = "LedD-" + versionName + "-" + versionCode
manifestPlaceholders = [HOCKEYAPP_APP_ID: "7febd1d2266a4f0c81667ca4e3d11fd3"]
jackOptions.enabled true
}
buildTypes {
release {
zipAlignEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
zipAlignEnabled true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
targetCompatibility 1.8
sourceCompatibility 1.8
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:support-v4:25.3.1'
compile 'com.squareup.okhttp:okhttp:2.7.5'
compile 'com.jakewharton.timber:timber:4.5.1'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.jakewharton:butterknife:8.5.1'
compile 'com.koushikdutta.async:androidasync:2.1.9'
compile 'com.android.support:design:25.3.1'
compile 'com.larswerkman:HoloColorPicker:1.5@aar'
compile 'com.google.guava:guava:21.0'
compile 'com.thetransactioncompany:jsonrpc2-base:1.38'
compile('com.mikepenz:materialdrawer:5.8.1@aar') {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.koushikdutta.async:androidasync:2.2.1'
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
implementation 'com.jakewharton.timber:timber:4.7.1'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.jakewharton:butterknife:8.8.1'
implementation 'com.github.madrapps:pikolo:1.1.6'
implementation 'com.google.guava:guava:27.0-android'
implementation('com.mikepenz:materialdrawer:6.1.1@aar') {
transitive = true
}
provided 'org.projectlombok:lombok:1.16.12'
annotationProcessor 'org.projectlombok:lombok:1.18.4'
compileOnly 'org.projectlombok:lombok:1.18.4'
}