diff --git a/samples/gltf/build.gradle b/samples/gltf/build.gradle index 8392729d..e00b519b 100644 --- a/samples/gltf/build.gradle +++ b/samples/gltf/build.gradle @@ -40,9 +40,7 @@ android { } dependencies { - // Use the Sceneform UX Package built from the source files included in the sceneformux folder. - api project(":ux") - - implementation 'com.google.ar:core:1.20.0' implementation 'androidx.appcompat:appcompat:1.2.0' + + implementation("com.gorisse.thomas.sceneform:sceneform:1.18.+") } diff --git a/sceneform/build.gradle b/sceneform/build.gradle new file mode 100644 index 00000000..15d5763d --- /dev/null +++ b/sceneform/build.gradle @@ -0,0 +1,28 @@ +apply plugin: 'com.android.library' + +android { + compileSdkVersion 30 + defaultConfig { + minSdkVersion 24 + targetSdkVersion 30 + versionCode 3 + versionName "1.18.2" + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + api project(":core") + api project(":ux") +} + +apply from: rootProject.file('bintray.gradle') \ No newline at end of file diff --git a/sceneform/src/main/AndroidManifest.xml b/sceneform/src/main/AndroidManifest.xml new file mode 100644 index 00000000..03bd12a3 --- /dev/null +++ b/sceneform/src/main/AndroidManifest.xml @@ -0,0 +1,20 @@ + + + + diff --git a/settings.gradle b/settings.gradle index 559fe336..72787dbc 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,2 @@ -include ':core', ':ux', ':samples-gltf' -project(':samples-gltf').projectDir=new File('samples/gltf') \ No newline at end of file +include ':core', ':ux', ':sceneform', ':samples-gltf' +project(':samples-gltf').projectDir = new File('samples/gltf') \ No newline at end of file