Skip to content

Commit 996b9cb

Browse files
authored
Adapt Halo 2.23 (#59)
Signed-off-by: John Niang <johnniang@foxmail.com>
1 parent 2c48dbb commit 996b9cb

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

build.gradle

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
plugins {
22
id 'java'
3-
id "io.freefair.lombok" version "8.13"
4-
id "run.halo.plugin.devtools" version "0.6.1"
3+
id "io.freefair.lombok" version "9.2.0"
4+
id "run.halo.plugin.devtools" version "0.6.2"
55
}
66

77
group 'run.halo.starter'
88

99
repositories {
10+
maven {
11+
name = 'Central Portal Snapshots'
12+
url = 'https://central.sonatype.com/repository/maven-snapshots/'
13+
14+
// Only search this repository for the specific dependency
15+
content {
16+
includeGroupAndSubgroups('run.halo')
17+
}
18+
}
1019
mavenCentral()
1120
}
1221

1322
dependencies {
14-
implementation platform('run.halo.tools.platform:plugin:2.21.0')
23+
// TODO Change to a released version once available
24+
implementation platform('run.halo.tools.platform:plugin:2.23.0-SNAPSHOT')
1525
compileOnly 'run.halo.app:api'
1626

1727
testImplementation 'run.halo.app:api'
@@ -45,6 +55,10 @@ tasks.named('classes') {
4555
dependsOn tasks.named('processUiResources')
4656
}
4757

58+
tasks.named('generatePluginComponentsIdx') {
59+
notCompatibleWithConfigurationCache('This task invokes "Task.project" at execution time, which is not supported with configuration cache.')
60+
}
61+
4862
halo {
49-
version = '2.21'
63+
version = '2.23.0-beta.2'
5064
}

src/main/resources/plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
name: starter
88
spec:
99
enabled: true
10-
requires: ">=2.21.0"
10+
requires: ">=2.23.0"
1111
author:
1212
name: Halo
1313
website: https://github.com/halo-dev

0 commit comments

Comments
 (0)