• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: 'com.android.application'
2
3android {
4    compileSdkVersion 27
5    defaultConfig {
6        applicationId "com.google.ar.core.examples.java.helloar"
7
8        // 24 is the minimum since ARCore only works with 24 and higher.
9        minSdkVersion 26
10        targetSdkVersion 27
11        versionCode 1
12        versionName "1.0"
13    }
14
15    testOptions {
16        unitTests.returnDefaultValues = false
17    }
18
19    buildTypes {
20        release {
21            minifyEnabled false
22            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
23        }
24    }
25}
26
27dependencies {
28    // ARCore library
29    implementation 'com.google.ar:core:1.2.0'
30
31    // Obj - a simple Wavefront OBJ file loader
32    // https://github.com/javagl/Obj
33    implementation 'de.javagl:obj:0.2.1'
34
35    implementation 'com.android.support:appcompat-v7:27.0.2'
36    implementation 'com.android.support:design:27.1.1'
37
38    // Required -- JUnit 4 framework
39    testImplementation 'junit:junit:4.12'
40    // Optional -- Mockito framework
41    testImplementation 'org.mockito:mockito-core:1.10.19'
42}
43