Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
plugins {
id 'java'
id "io.freefair.lombok" version "8.13"
id "run.halo.plugin.devtools" version "0.6.1"
id "io.freefair.lombok" version "9.2.0"
id "run.halo.plugin.devtools" version "0.6.2"
}

group 'run.halo.starter'

repositories {
maven {
name = 'Central Portal Snapshots'
url = 'https://central.sonatype.com/repository/maven-snapshots/'

// Only search this repository for the specific dependency
content {
includeGroupAndSubgroups('run.halo')
}
}
mavenCentral()
}

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

testImplementation 'run.halo.app:api'
Expand Down Expand Up @@ -45,6 +55,10 @@ tasks.named('classes') {
dependsOn tasks.named('processUiResources')
}

tasks.named('generatePluginComponentsIdx') {
notCompatibleWithConfigurationCache('This task invokes "Task.project" at execution time, which is not supported with configuration cache.')
}

halo {
version = '2.21'
version = '2.23.0-beta.2'
}
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: starter
spec:
enabled: true
requires: ">=2.21.0"
requires: ">=2.23.0"
author:
name: Halo
website: https://github.com/halo-dev
Expand Down