34 lines
896 B
Groovy
34 lines
896 B
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: FilamentToolsPlugin
|
|
|
|
project.ext.isSample = true
|
|
|
|
filamentTools {
|
|
materialInputDir = project.layout.projectDirectory.dir("src/main/materials")
|
|
materialOutputDir = project.layout.projectDirectory.dir("src/main/assets/materials")
|
|
}
|
|
|
|
clean.doFirst {
|
|
delete "src/main/assets"
|
|
}
|
|
android {
|
|
compileSdkVersion versions.compileSdk
|
|
defaultConfig {
|
|
applicationId "com.google.android.filament.multiview"
|
|
minSdkVersion versions.minSdk
|
|
targetSdkVersion versions.targetSdk
|
|
}
|
|
|
|
// We use the .filamat extension for materials compiled with matc
|
|
// Telling aapt to not compress them allows to load them efficiently
|
|
aaptOptions {
|
|
noCompress 'filamat', 'ktx'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation deps.kotlin
|
|
implementation project(':filament-android')
|
|
}
|