From 858c9a246ec29a7575a598c5df0b0be46f48f010 Mon Sep 17 00:00:00 2001 From: "FC (Fay) Stegerman" Date: Mon, 23 Dec 2024 19:40:17 +0100 Subject: [PATCH] add com.example.bluetoothconnect --- recipes/com.example.bluetoothconnect.yml | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes/com.example.bluetoothconnect.yml diff --git a/recipes/com.example.bluetoothconnect.yml b/recipes/com.example.bluetoothconnect.yml new file mode 100644 index 0000000..8021386 --- /dev/null +++ b/recipes/com.example.bluetoothconnect.yml @@ -0,0 +1,31 @@ +--- +repository: https://github.com/jusss/BluetoothConnect.git +updates: releases +versions: + - tag: v2.8 + apks: + - apk_pattern: OTG\.Bluetooth\.Keyboard.*\.apk + apk_url: https://github.com/jusss/BluetoothConnect/releases/download/v2.8/OTG.Bluetooth.Keyboard.v2.8.apk + build: + - JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 ./gradlew assembleRelease + - mv app/build/outputs/apk/release/app-release-unsigned.apk /outputs/unsigned.apk + build_home_dir: /build + build_repo_dir: /build/repo + build_user: build + provisioning: + android_home: /opt/sdk + build_tools: + cmake: + cmdline_tools: + version: '12.0' + url: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip + sha256: 2d2d50857e4eb553af5a6dc3ad507a17adf43d115264b1afc116f95c92e5e258 + extra_packages: + - openjdk-11-jdk-headless + image: debian:bullseye-slim + jdk: openjdk-17-jdk-headless + ndk: + platform: + platform_tools: + tools: + verify_gradle_wrapper: true