### Displaying URL Query Parameters in JavaScript Source: https://github.com/tencent/shadow/blob/master/projects/sample/source/sample-plugin/sample-app/src/main/assets/web/test.html This snippet uses `location.search` to get the query string part of the URL (e.g., `?param=value`) and `document.write` to output it directly to the HTML document. It's a simple way to see the current URL parameters. ```JavaScript document.write(location.search); ``` -------------------------------- ### Compiling and Pushing Plugin for Maven Sample (Shell) Source: https://github.com/tencent/shadow/blob/master/projects/sample/README.md This snippet shows how to compile the plugin module (`plugin-project`) using Gradle and then push the resulting `plugin-debug.zip` file to the device's `/data/local/tmp` directory using ADB. This step is a prerequisite for running the Maven-dependent host application. ```Shell ./gradlew packageDebugPlugin adb push build/plugin-debug.zip /data/local/tmp ``` -------------------------------- ### Compiling and Pushing Plugin Manager for Maven Sample (Shell) Source: https://github.com/tencent/shadow/blob/master/projects/sample/README.md This snippet demonstrates how to compile the plugin manager module (`manager-project`) using Gradle and then push its debug APK (`sample-manager-debug.apk`) to the device's `/data/local/tmp` directory using ADB. This is another essential prerequisite for running the Maven-dependent host application. ```Shell ./gradlew assembleDebug adb push sample-manager/build/outputs/apk/debug/sample-manager-debug.apk /data/local/tmp ``` -------------------------------- ### Publishing Shadow SDK to Maven Repository (Gradle) Source: https://github.com/tencent/shadow/blob/master/projects/sample/README.md This command is used to publish the Shadow SDK artifacts to a configured Maven repository. It is part of the process for setting up Maven dependencies for formal business integration, after configuring GroupIDs and repository URLs in the `maven.gradle` file. ```Shell ./gradlew publish ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.