generated from halo-dev/plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.gradle
45 lines (36 loc) · 994 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
plugins {
id "io.freefair.lombok" version "8.0.1"
id "run.halo.plugin.devtools" version "0.0.7"
id 'java'
}
group 'run.halo.live2d'
sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
}
configurations.runtimeClasspath {
exclude group: 'com.fasterxml.jackson.core'
}
dependencies {
implementation platform('run.halo.tools.platform:plugin:2.11.0-SNAPSHOT')
implementation 'com.theokanning.openai-gpt3-java:api:0.17.0'
compileOnly 'run.halo.app:api'
testImplementation 'run.halo.app:api'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
halo {
version = '2.11.2'
port = 8092
superAdminUsername = 'admin'
superAdminPassword = 'admin'
externalUrl = 'http://localhost:8092'
debug = true
}
build {
// build frontend before build
tasks.getByName('compileJava')
}