feat(browser): 新增 BrowserWindowJDialog 类并优化浏览器功能

- 新增 BrowserWindowJDialog 类,用于创建 JDialog 类型的浏览器窗口
- 优化 BrowserWindow 类,添加复制、粘贴功能- 新增 CefAppManager 类,用于管理 CefApp 实例
- 更新 build.gradle,添加新依赖项
This commit is contained in:
tzdwindows 7
2025-04-30 17:50:20 +08:00
parent d53fe66e37
commit 4fa079a753
14 changed files with 1316 additions and 791 deletions

View File

@@ -30,10 +30,16 @@ repositories {
ignoreGradleMetadataRedirection()
}
}
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://jitpack.io' }
mavenCentral()
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
@@ -123,6 +129,22 @@ dependencies {
implementation 'org.openjfx:javafx-graphics:21'
implementation 'me.friwi:jcefmaven:122.1.10'
implementation 'com.alphacephei:vosk:0.3.45' // Java API
implementation 'net.java.dev.jna:jna:5.12.1' // 本地库加载
// 高性能音频处理
implementation 'org.apache.commons:commons-math3:3.6.1'
implementation 'com.google.guava:guava:31.1-jre'
// 中文拼音处理
implementation 'com.belerweb:pinyin4j:2.5.1'
// 音频I/O
implementation 'commons-io:commons-io:2.18.0'
implementation 'jflac:jflac:1.3' // FLAC支持
implementation 'com.github.axet:TarsosDSP:2.4'
}
// 分离依赖项到 libs 目录