Updated android build files to new asset/shader folder structure
Make use of global gradle variables Updated gradle
This commit is contained in:
parent
c13ba757b7
commit
eb3d68fb5c
79 changed files with 750 additions and 665 deletions
|
|
@ -2,11 +2,11 @@ apply plugin: 'com.android.application'
|
|||
apply from: '../gradle/outputfilename.gradle'
|
||||
|
||||
android {
|
||||
compileSdkVersion 26
|
||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
defaultConfig {
|
||||
applicationId "de.saschawillems.vulkanShadowmapping"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 26
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
ndk {
|
||||
|
|
@ -43,25 +43,25 @@ task copyTask {
|
|||
}
|
||||
|
||||
copy {
|
||||
from '../../../data/shaders/glsl/base'
|
||||
from rootProject.ext.shaderPath + 'glsl/base'
|
||||
into 'assets/shaders/glsl/base'
|
||||
include '*.spv'
|
||||
}
|
||||
|
||||
copy {
|
||||
from '../../../data/shaders/glsl/shadowmapping'
|
||||
from rootProject.ext.shaderPath + 'glsl/shadowmapping'
|
||||
into 'assets/shaders/glsl/shadowmapping'
|
||||
include '*.*'
|
||||
}
|
||||
|
||||
copy {
|
||||
from '../../../data/models'
|
||||
from rootProject.ext.assetPath + 'models'
|
||||
into 'assets/models'
|
||||
include 'vulkanscene_shadow.gltf'
|
||||
}
|
||||
|
||||
copy {
|
||||
from '../../../data/models'
|
||||
from rootProject.ext.assetPath + 'models'
|
||||
into 'assets/models'
|
||||
include 'samplescene.gltf'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue