summaryrefslogtreecommitdiff
path: root/plugins/hello_signals/build.gradle
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@meta.com>2023-10-08 14:34:02 -0700
committerFredia Huya-Kouadio <fhuya@meta.com>2023-10-08 14:34:02 -0700
commitd9fff97ae273807c8eab768847753f17b9ecda46 (patch)
tree03e6369f10286d0e5142c687913cf6bffa3ca582 /plugins/hello_signals/build.gradle
parent8bd8bca5986794ce1d8edbd6bbd170ad86881659 (diff)
downloadgodot-android-samples-d9fff97ae273807c8eab768847753f17b9ecda46.tar.gz
godot-android-samples-d9fff97ae273807c8eab768847753f17b9ecda46.tar.bz2
godot-android-samples-d9fff97ae273807c8eab768847753f17b9ecda46.zip
Update the 'HelloSignals' plugin sample's directory structure
Diffstat (limited to 'plugins/hello_signals/build.gradle')
-rw-r--r--plugins/hello_signals/build.gradle16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/hello_signals/build.gradle b/plugins/hello_signals/build.gradle
index d639858..b3a6f76 100644
--- a/plugins/hello_signals/build.gradle
+++ b/plugins/hello_signals/build.gradle
@@ -29,21 +29,21 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlinVersion"
}
-tasks.register('copyDebugAARToAddons', Copy) {
+tasks.register('copyDebugAARToDemoAddons', Copy) {
from 'build/outputs/aar'
include 'HelloSignals.debug.aar'
- into 'src/main/assets/addons/hello_signals_plugin/.bin/debug'
+ into 'demo/addons/hello_signals_plugin/bin/debug'
}
-tasks.register('copyReleaseAARToAddons', Copy) {
+tasks.register('copyReleaseAARToDemoAddons', Copy) {
from 'build/outputs/aar'
include 'HelloSignals.release.aar'
- into 'src/main/assets/addons/hello_signals_plugin/.bin/release'
+ into 'demo/addons/hello_signals_plugin/bin/release'
}
tasks.register('copyAddonsToDemo', Copy) {
- dependsOn(copyDebugAARToAddons)
- dependsOn(copyReleaseAARToAddons)
+ finalizedBy(copyDebugAARToDemoAddons)
+ finalizedBy(copyReleaseAARToDemoAddons)
doFirst {
delete('demo/addons/hello_signals_plugin')
@@ -52,6 +52,6 @@ tasks.register('copyAddonsToDemo', Copy) {
into 'demo/addons/hello_signals_plugin'
}
-assemble.finalizedBy(copyDebugAARToAddons)
-assemble.finalizedBy(copyReleaseAARToAddons)
assemble.finalizedBy(copyAddonsToDemo)
+assemble.finalizedBy(copyDebugAARToDemoAddons)
+assemble.finalizedBy(copyReleaseAARToDemoAddons)