feat(plugin): 添加 Python 插件支持
- 新增 PluginPyLoader 类实现 Python 插件加载- 添加 PythonResult 类封装 Python执行结果 - 实现 RunPython 工具类用于执行 Python脚本 - 新增 PyLocalSide 类提供 Python 脚本调用本地方法的接口- 修改主程序启动逻辑,支持 Python 插件初始化 - 更新插件注册设置项,兼容 Python 插件
This commit is contained in:
17
build.gradle
17
build.gradle
@@ -15,10 +15,17 @@ group = 'com.axis.innovators.box'
|
||||
version = '0.0.1'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
maven { url "https://maven.aliyun.com/repository/public" }
|
||||
maven { setUrl("https://maven.aliyun.com/repository/central") }
|
||||
maven { setUrl("https://maven.aliyun.com/repository/jcenter") }
|
||||
maven { setUrl("https://maven.aliyun.com/repository/google") }
|
||||
maven { setUrl("https://maven.aliyun.com/repository/gradle-plugin") }
|
||||
maven { setUrl("https://maven.aliyun.com/repository/public") }
|
||||
maven { setUrl("https://jitpack.io") }
|
||||
maven { setUrl("https://maven.aliyun.com/nexus/content/groups/public/") }
|
||||
maven { setUrl("https://maven.aliyun.com/nexus/content/repositories/jcenter") }
|
||||
gradlePluginPortal()
|
||||
google()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -48,6 +55,10 @@ dependencies {
|
||||
implementation 'com.formdev:flatlaf:3.2.1' // FlatLaf核心
|
||||
implementation 'com.formdev:flatlaf-extras:3.2.1' // 扩展组件
|
||||
implementation 'com.formdev:flatlaf-intellij-themes:3.2.1' // 官方主题包
|
||||
|
||||
implementation 'org.python:jython-standalone:2.7.3'
|
||||
|
||||
implementation 'com.google.code.gson:gson:2.10.1'
|
||||
}
|
||||
|
||||
// 分离依赖项到 libs 目录
|
||||
|
||||
Reference in New Issue
Block a user