11plugins {
2- id " io.freefair.lombok" version " 8.0.0-rc2 "
3- id " io.github.guqing. plugin-development " version " 0.0.8-SNAPSHOT "
2+ id " io.freefair.lombok" version " 8.0.1 "
3+ id " run.halo. plugin.devtools " version " 0.0.7 "
44 id ' java'
55}
66
@@ -12,23 +12,16 @@ repositories {
1212 maven { url ' https://s01.oss.sonatype.org/content/repositories/snapshots' }
1313}
1414
15- jar {
16- enabled = true
17- duplicatesStrategy = DuplicatesStrategy . EXCLUDE
18- manifest. attributes(
19- ' Plugin-Version' : " ${ project.version} " ,
20- )
21- from {
22- configurations. runtimeClasspath. collect {
23- it. isDirectory() ? it : zipTree(it)
24- }
25- }
15+ configurations. runtimeClasspath {
16+ exclude group : ' com.fasterxml.jackson.core'
2617}
2718
2819dependencies {
29- implementation ' com.theokanning.openai-gpt3-java:service:0.12.0'
20+ implementation (' com.theokanning.openai-gpt3-java:service:0.12.0' )
21+
22+ implementation platform(' run.halo.tools.platform:plugin:2.9.0-SNAPSHOT' )
23+
3024
31- implementation platform(' run.halo.tools.platform:plugin:2.5.0-SNAPSHOT' )
3225 compileOnly ' run.halo.app:api'
3326
3427 testImplementation ' run.halo.app:api'
@@ -39,7 +32,15 @@ test {
3932 useJUnitPlatform()
4033}
4134
35+ halo {
36+ version = ' 2.10.0'
37+ port = 8092
38+ superAdminUsername = ' admin'
39+ superAdminPassword = ' admin'
40+ externalUrl = ' http://localhost:8092'
41+ }
42+
4243build {
4344 // build frontend before build
4445 tasks. getByName(' compileJava' )
45- }
46+ }
0 commit comments