| apply plugin: 'com.android.application' |
| |
| android { |
| compileSdkVersion 27 |
| defaultConfig { |
| applicationId "com.google.ar.core.examples.java.helloar" |
| |
| // 24 is the minimum since ARCore only works with 24 and higher. |
| minSdkVersion 26 |
| targetSdkVersion 27 |
| versionCode 1 |
| versionName "1.0" |
| } |
| |
| testOptions { |
| unitTests.returnDefaultValues = false |
| } |
| |
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| } |
| } |
| } |
| |
| dependencies { |
| // ARCore library |
| implementation 'com.google.ar:core:1.2.0' |
| |
| // Obj - a simple Wavefront OBJ file loader |
| // https://github.com/javagl/Obj |
| implementation 'de.javagl:obj:0.2.1' |
| |
| implementation 'com.android.support:appcompat-v7:27.0.2' |
| implementation 'com.android.support:design:27.1.1' |
| |
| // Required -- JUnit 4 framework |
| testImplementation 'junit:junit:4.12' |
| // Optional -- Mockito framework |
| testImplementation 'org.mockito:mockito-core:1.10.19' |
| } |