From f5180b600511d1871635bd364beb5bdd15f6ae88 Mon Sep 17 00:00:00 2001
From: zuojincheng <lf_zuo@163.com>
Date: 星期三, 26 三月 2025 18:05:07 +0800
Subject: [PATCH] feat(nfc): 优化 NFC写卡功能并添加新方法- 在 BaseNfcWriteHelper 中添加了新的 writeData 方法,增加了 isConnect 参数 - 优化了 NativeNfcWriteHelper 中的 writeData 实现,支持选择性连接 NFC - 更新了 NfcWriteAdapter,支持新的 writeData 方法- 修改了 NfcWreatHelper 中的 writeData 方法,使用新的接口 - 优化了 NfcWreatActivity 中的写卡逻辑
---
build.gradle | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/build.gradle b/build.gradle
index 10e4aeb..e5d0e08 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,15 @@
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ ext {
+ agp_version = '8.2.0'
+ agp_version1 = '7.2.2'
+ }
+}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.2.2' apply false
id 'com.android.library' version '7.2.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
+}
+
+ext {
+ myValue = 'C:\\Users\\User\\StudioProjects\\charge\\dycz.jks'
}
\ No newline at end of file
--
Gitblit v1.8.0