mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Update toolchain
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
apply plugin: 'com.neenbedankt.android-apt'
|
|
||||||
apply plugin: 'me.tatarka.retrolambda'
|
|
||||||
apply plugin: 'jacoco'
|
apply plugin: 'jacoco'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
@@ -55,59 +53,62 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
androidTestApt 'com.google.dagger:dagger-compiler:2.11-rc2'
|
implementation 'com.android.support:appcompat-v7:25.3.1'
|
||||||
|
implementation 'com.android.support:design:25.3.1'
|
||||||
|
implementation 'com.android.support:preference-v14:25.3.1'
|
||||||
|
implementation 'com.android.support:support-v4:25.3.1'
|
||||||
|
implementation 'com.getpebble:pebblekit:3.0.0'
|
||||||
|
implementation 'com.github.paolorotolo:appintro:3.4.0'
|
||||||
|
implementation 'com.google.auto.factory:auto-factory:1.0-beta3'
|
||||||
|
implementation 'com.google.dagger:dagger:2.11-rc2'
|
||||||
|
implementation 'com.jakewharton:butterknife:8.6.1-SNAPSHOT'
|
||||||
|
implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
|
||||||
|
implementation 'org.apmem.tools:layouts:1.10'
|
||||||
|
implementation 'org.jetbrains:annotations-java5:15.0'
|
||||||
|
implementation 'com.google.code.gson:gson:2.7'
|
||||||
|
implementation 'com.google.code.findbugs:jsr305:3.0.2'
|
||||||
|
implementation 'com.google.guava:guava:20.0'
|
||||||
|
|
||||||
androidTestCompile 'com.android.support:support-annotations:25.3.1'
|
testImplementation 'junit:junit:5.0-SNAPSHOT'
|
||||||
androidTestCompile 'com.android.support.test:rules:0.5'
|
testImplementation 'org.hamcrest:hamcrest-library:1.4-atlassian-1'
|
||||||
androidTestCompile 'com.android.support.test:runner:0.5'
|
testImplementation 'org.mockito:mockito-core:2.8.9'
|
||||||
androidTestCompile 'com.google.auto.factory:auto-factory:1.0-beta3'
|
testImplementation 'org.json:json:20160810'
|
||||||
androidTestCompile "com.google.dexmaker:dexmaker:1.2"
|
testImplementation 'org.robolectric:robolectric:3.4-rc2'
|
||||||
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
|
|
||||||
androidTestCompile 'org.mockito:mockito-core:1.10.19'
|
|
||||||
androidTestCompile 'com.google.guava:guava:20.0'
|
|
||||||
|
|
||||||
apt 'com.google.dagger:dagger-compiler:2.11-rc2'
|
androidTestImplementation 'com.android.support:support-annotations:25.3.1'
|
||||||
apt 'com.jakewharton:butterknife-compiler:8.6.1-SNAPSHOT'
|
androidTestImplementation 'com.android.support.test:rules:0.5'
|
||||||
|
androidTestImplementation 'com.android.support.test:runner:0.5'
|
||||||
|
androidTestImplementation 'com.google.auto.factory:auto-factory:1.0-beta3'
|
||||||
|
androidTestImplementation "com.google.dexmaker:dexmaker:1.2"
|
||||||
|
androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2'
|
||||||
|
androidTestImplementation 'org.mockito:mockito-core:1.10.19'
|
||||||
|
androidTestImplementation 'com.google.guava:guava:20.0'
|
||||||
|
|
||||||
compile 'com.android.support:appcompat-v7:25.3.1'
|
compileOnly 'javax.annotation:jsr250-api:1.0'
|
||||||
compile 'com.android.support:design:25.3.1'
|
|
||||||
compile 'com.android.support:preference-v14:25.3.1'
|
|
||||||
compile 'com.android.support:support-v4:25.3.1'
|
|
||||||
compile 'com.getpebble:pebblekit:3.0.0'
|
|
||||||
compile 'com.github.paolorotolo:appintro:3.4.0'
|
|
||||||
compile 'com.google.auto.factory:auto-factory:1.0-beta3'
|
|
||||||
compile 'com.google.dagger:dagger:2.11-rc2'
|
|
||||||
compile 'com.jakewharton:butterknife:8.6.1-SNAPSHOT'
|
|
||||||
compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
|
|
||||||
compile 'com.opencsv:opencsv:3.9'
|
|
||||||
compile 'org.apmem.tools:layouts:1.10'
|
|
||||||
compile 'org.jetbrains:annotations-java5:15.0'
|
|
||||||
compile 'com.google.code.gson:gson:2.7'
|
|
||||||
compile 'com.google.code.findbugs:jsr305:3.0.2'
|
|
||||||
compile 'com.google.guava:guava:20.0'
|
|
||||||
|
|
||||||
provided 'javax.annotation:jsr250-api:1.0'
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.11-rc2'
|
||||||
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.1-SNAPSHOT'
|
||||||
|
annotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta3'
|
||||||
|
|
||||||
compile ('io.socket:socket.io-client:+') {
|
testAnnotationProcessor 'com.google.dagger:dagger-compiler:2.11-rc2'
|
||||||
exclude group: 'org.json', module: 'json'
|
testAnnotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta3'
|
||||||
|
testAnnotationProcessor 'com.jakewharton:butterknife-compiler:8.6.1-SNAPSHOT'
|
||||||
|
|
||||||
|
androidTestAnnotationProcessor 'com.google.dagger:dagger-compiler:2.11-rc2'
|
||||||
|
androidTestAnnotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta3'
|
||||||
|
androidTestAnnotationProcessor 'com.jakewharton:butterknife-compiler:8.6.1-SNAPSHOT'
|
||||||
|
|
||||||
|
implementation ('com.opencsv:opencsv:3.9') {
|
||||||
|
exclude group: 'commons-logging', module: 'commons-logging'
|
||||||
}
|
}
|
||||||
|
|
||||||
testApt 'com.google.dagger:dagger-compiler:2.11-rc2'
|
implementation ('io.socket:socket.io-client:+') {
|
||||||
testApt 'com.google.guava:guava:20.0'
|
exclude group: 'org.json', module: 'json'
|
||||||
|
}
|
||||||
testCompile 'junit:junit:5.0-SNAPSHOT'
|
|
||||||
testCompile 'org.hamcrest:hamcrest-library:1.4-atlassian-1'
|
|
||||||
testCompile 'org.mockito:mockito-core:2.8.9'
|
|
||||||
testCompile 'org.json:json:20160810'
|
|
||||||
testCompile 'org.robolectric:robolectric:3.4-rc2'
|
|
||||||
}
|
|
||||||
|
|
||||||
retrolambda {
|
|
||||||
defaultMethods true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jacoco {
|
jacoco {
|
||||||
toolVersion = "0.7.6.201602180812"
|
toolVersion = "0.7.4.201502262128"
|
||||||
}
|
}
|
||||||
|
|
||||||
task coverageReport(type: JacocoReport, dependsOn: ['testDebugUnitTest']) {
|
task coverageReport(type: JacocoReport, dependsOn: ['testDebugUnitTest']) {
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
maven { url 'https://maven.google.com' }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.3.2'
|
classpath 'com.android.tools.build:gradle:3.0.0-alpha1'
|
||||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
||||||
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.4'
|
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.4'
|
||||||
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
|
|
||||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -16,6 +15,7 @@ buildscript {
|
|||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
maven { url 'https://maven.google.com' }
|
||||||
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
6
build.sh
6
build.sh
@@ -128,14 +128,14 @@ install_apk() {
|
|||||||
log_info "Installing APK"
|
log_info "Installing APK"
|
||||||
|
|
||||||
if [ ! -z $RELEASE ]; then
|
if [ ! -z $RELEASE ]; then
|
||||||
$ADB install -r ${OUTPUTS_DIR}/apk/app-release.apk || fail
|
$ADB install -r ${OUTPUTS_DIR}/apk/release/app-release.apk || fail
|
||||||
else
|
else
|
||||||
$ADB install -r ${OUTPUTS_DIR}/apk/app-debug.apk || fail
|
$ADB install -r ${OUTPUTS_DIR}/apk/debug/app-debug.apk || fail
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
install_test_apk() {
|
install_test_apk() {
|
||||||
$ADB install -r ${OUTPUTS_DIR}/apk/app-debug-androidTest.apk || fail
|
$ADB install -r ${OUTPUTS_DIR}/apk/androidTest/debug/app-debug-androidTest.apk || fail
|
||||||
}
|
}
|
||||||
|
|
||||||
run_instrumented_tests() {
|
run_instrumented_tests() {
|
||||||
|
|||||||
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
#Fri Mar 17 21:42:38 EDT 2017
|
#Wed May 24 19:36:48 EDT 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-3.3-all.zip
|
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-4.0-20170417000025+0000-all.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user