This file contains 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
/** | |
* Module that includes this will be configured to use offline dependencies for Robolectric | |
* This downloads robolectric dependencies once into the root project | |
*/ | |
def robolectricDependenciesFolder = rootProject.buildDir.path + "/robolectric-dependencies" | |
// configuration that resolves Robolectric runtime dependencies | |
configurations.create('robolectricRuntime') |
This file contains 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
import android.media.AudioManager; | |
import android.media.MediaPlayer; | |
import android.util.Pair; | |
import org.jetbrains.annotations.NotNull; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.concurrent.TimeUnit; | |
import rx.Observable; | |
import rx.subscriptions.Subscriptions; |
This file contains 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 moshi; | |
import android.test.AndroidTestCase; | |
import com.squareup.moshi.FromJson; | |
import com.squareup.moshi.JsonAdapter; | |
import com.squareup.moshi.Moshi; | |
import com.squareup.moshi.ToJson; | |
import com.squareup.moshi.Types; |