Files
Hippy/build.gradle
2022-07-11 11:43:36 +08:00

41 lines
1.0 KiB
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$AGP_VERSION"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 1, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 1, 'seconds'
}
}
allprojects {
repositories {
google()
mavenCentral()
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 1, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 1, 'seconds'
}
}
task clean(type: Delete) {
delete 'examples/android-demo/build'
}
project.afterEvaluate {
delete 'examples/android-demo/src/main/assets'
copy{
from "examples/android-demo/res"
into "examples/android-demo/src/main/assets"
}
}