feat(browser): 新增 BrowserWindowJDialog 类并优化浏览器功能
- 新增 BrowserWindowJDialog 类,用于创建 JDialog 类型的浏览器窗口 - 优化 BrowserWindow 类,添加复制、粘贴功能- 新增 CefAppManager 类,用于管理 CefApp 实例 - 更新 build.gradle,添加新依赖项
This commit is contained in:
22
build.gradle
22
build.gradle
@@ -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 目录
|
||||
|
||||
Reference in New Issue
Block a user