1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 02:53:09 +01:00

Upgrade to Studio 3

This commit is contained in:
wb9688 2017-11-10 10:33:59 +01:00
parent 267cd99b04
commit 5d6320d925
3 changed files with 37 additions and 32 deletions

View File

@ -1,13 +1,13 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 26 compileSdkVersion 27
buildToolsVersion '26.0.1' buildToolsVersion '27.0.1'
defaultConfig { defaultConfig {
applicationId "org.schabi.newpipe" applicationId "org.schabi.newpipe"
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 26 targetSdkVersion 27
versionCode 41 versionCode 41
versionName "0.11.0" versionName "0.11.0"
@ -27,6 +27,10 @@ android {
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
} }
beta { beta {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
applicationIdSuffix ".beta" applicationIdSuffix ".beta"
} }
} }
@ -44,42 +48,42 @@ android {
} }
dependencies { dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2') { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2') {
exclude module: 'support-annotations' exclude module: 'support-annotations'
} }
compile 'com.github.TeamNewPipe:NewPipeExtractor:b9d0941' implementation 'com.github.TeamNewPipe:NewPipeExtractor:b9d0941411'
testCompile 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19' testImplementation 'org.mockito:mockito-core:1.10.19'
compile 'com.android.support:appcompat-v7:26.0.1' implementation 'com.android.support:appcompat-v7:27.0.0'
compile 'com.android.support:support-v4:26.0.1' implementation 'com.android.support:support-v4:27.0.0'
compile 'com.android.support:design:26.0.1' implementation 'com.android.support:design:27.0.0'
compile 'com.android.support:recyclerview-v7:26.0.1' implementation 'com.android.support:recyclerview-v7:27.0.0'
compile 'com.android.support:preference-v14:26.0.1' implementation 'com.android.support:preference-v14:27.0.0'
compile 'com.google.code.gson:gson:2.7' implementation 'com.google.code.gson:gson:2.8.2'
compile 'ch.acra:acra:4.9.0' implementation 'ch.acra:acra:4.9.0'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile 'de.hdodenhof:circleimageview:2.1.0' implementation 'de.hdodenhof:circleimageview:2.2.0'
compile 'com.github.nirhart:parallaxscroll:1.0' implementation 'com.github.nirhart:ParallaxScroll:dd53d1f9d1'
compile 'com.nononsenseapps:filepicker:3.0.1' implementation 'com.nononsenseapps:filepicker:3.0.1'
compile 'com.google.android.exoplayer:exoplayer:r2.5.4' implementation 'com.google.android.exoplayer:exoplayer:r2.5.4'
debugCompile 'com.facebook.stetho:stetho:1.5.0' debugImplementation 'com.facebook.stetho:stetho:1.5.0'
debugCompile 'com.facebook.stetho:stetho-urlconnection:1.5.0' debugImplementation 'com.facebook.stetho:stetho-urlconnection:1.5.0'
debugCompile 'com.android.support:multidex:1.0.1' debugImplementation 'com.android.support:multidex:1.0.2'
compile 'io.reactivex.rxjava2:rxjava:2.1.2' implementation 'io.reactivex.rxjava2:rxjava:2.1.6'
compile 'io.reactivex.rxjava2:rxandroid:2.0.1' implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0' implementation 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
compile 'android.arch.persistence.room:runtime:1.0.0-alpha8' implementation 'android.arch.persistence.room:runtime:1.0.0'
compile 'android.arch.persistence.room:rxjava2:1.0.0-alpha8' implementation 'android.arch.persistence.room:rxjava2:1.0.0'
annotationProcessor 'android.arch.persistence.room:compiler:1.0.0-alpha8' annotationProcessor 'android.arch.persistence.room:compiler:1.0.0'
compile 'frankiesardo:icepick:3.2.0' implementation 'frankiesardo:icepick:3.2.0'
provided 'frankiesardo:icepick-processor:3.2.0' annotationProcessor 'frankiesardo:icepick-processor:3.2.0'
} }

View File

@ -6,7 +6,7 @@ buildscript {
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.3' classpath 'com.android.tools.build:gradle:3.0.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files

View File

@ -1,5 +1,6 @@
#Thu Nov 09 12:44:58 CET 2017
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-all.zip