This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| allprojects { | |
| gradle.projectsEvaluated { | |
| tasks.withType(JavaCompile) { | |
| options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| checkstyle { | |
| toolVersion = "7.0" | |
| ignoreFailures = true | |
| configFile rootProject.file("checkstyle/checkstyle.xml") | |
| configProperties = [ "checkstyleFilterFile" : file('checkstyle/filter.xml')] | |
| } | |
| task checkstyleChanged(type: Checkstyle, dependsOn: 'copyChangedFilesForCheckstyle') { | |
| source 'changedfiles' | |
| include '**/*.java' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.unfurl; | |
| import android.os.AsyncTask; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.text.TextUtils; | |
| import android.widget.ImageView; | |
| import android.widget.TextView; | |
| import com.bumptech.glide.Glide; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Example of disabling animations and restoring after a suite has finished | |
| // SystemAnimations.java -> https://github.com/reark/reark/blob/master/app/src/androidTest/java/io/reark/rxgithubapp/activities/utils/SystemAnimations.java | |
| import org.junit.ClassRule; | |
| import org.junit.rules.ExternalResource; | |
| import org.junit.runner.RunWith; | |
| import org.junit.runners.Suite; | |
| import org.junit.runners.Suite.SuiteClasses; | |
| @RunWith(Suite.class) |