Skip to content

Commit

Permalink
Single jCenter dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Gorisse committed Jan 22, 2021
1 parent ef8920c commit 24ebdbc
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 6 deletions.
6 changes: 2 additions & 4 deletions samples/gltf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.+")
}
28 changes: 28 additions & 0 deletions sceneform/build.gradle
Original file line number Diff line number Diff line change
@@ -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')
20 changes: 20 additions & 0 deletions sceneform/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.ar.sceneform">
</manifest>
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include ':core', ':ux', ':samples-gltf'
project(':samples-gltf').projectDir=new File('samples/gltf')
include ':core', ':ux', ':sceneform', ':samples-gltf'
project(':samples-gltf').projectDir = new File('samples/gltf')

0 comments on commit 24ebdbc

Please sign in to comment.