mirror of
https://github.com/chylex/IntelliJ-AceJump.git
synced 2025-04-09 17:15:43 +02:00
update to intellij gradle plugin v2
This commit is contained in:
parent
d6d162e4cc
commit
ae458094cf
@ -1,11 +1,13 @@
|
||||
import org.jetbrains.changelog.Changelog.OutputType.HTML
|
||||
import org.jetbrains.changelog.date
|
||||
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
|
||||
|
||||
plugins {
|
||||
idea
|
||||
kotlin("jvm") version "1.8.20" // https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library
|
||||
id("org.jetbrains.intellij") version "1.17.3"
|
||||
id("org.jetbrains.changelog") version "2.2.0"
|
||||
alias(libs.plugins.kotlin) // Kotlin support
|
||||
alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin
|
||||
alias(libs.plugins.changelog) // Gradle Changelog Plugin
|
||||
alias(libs.plugins.kover) // Gradle Kover Plugin
|
||||
id("com.github.ben-manes.versions") version "0.51.0"
|
||||
}
|
||||
|
||||
@ -31,10 +33,6 @@ tasks {
|
||||
}
|
||||
}
|
||||
|
||||
runPluginVerifier {
|
||||
ideVersions = listOf("241.*")
|
||||
}
|
||||
|
||||
// Remove pending: https://youtrack.jetbrains.com/issue/IDEA-278926
|
||||
val test by getting(Test::class) {
|
||||
isScanForTestClasses = false
|
||||
@ -71,18 +69,31 @@ changelog {
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
intellijPlatform.defaultRepositories()
|
||||
// intellijPlatform.localPlatformArtifacts()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// https://github.com/anyascii/anyascii
|
||||
implementation("com.anyascii:anyascii:0.3.2")
|
||||
intellijPlatform{
|
||||
testImplementation(libs.junit)
|
||||
|
||||
bundledPlugins("com.intellij.java")
|
||||
create("IC", "2024.1.4")
|
||||
pluginVerifier()
|
||||
instrumentationTools()
|
||||
testFramework(TestFrameworkType.Platform)
|
||||
}
|
||||
}
|
||||
|
||||
intellij {
|
||||
version = "2024.1"
|
||||
pluginName = "AceJump"
|
||||
updateSinceUntilBuild = false
|
||||
plugins = listOf("java")
|
||||
intellijPlatform {
|
||||
pluginConfiguration {
|
||||
version = acejumpVersion
|
||||
name = "AceJump"
|
||||
}
|
||||
|
||||
pluginVerification.ides.recommended()
|
||||
}
|
||||
|
||||
group = "org.acejump"
|
||||
|
18
gradle/libs.versions.toml
Normal file
18
gradle/libs.versions.toml
Normal file
@ -0,0 +1,18 @@
|
||||
[versions]
|
||||
# libraries
|
||||
junit = "4.13.2"
|
||||
|
||||
# plugins
|
||||
changelog = "2.2.1"
|
||||
intelliJPlatform = "2.0.0"
|
||||
kotlin = "2.0.0"
|
||||
kover = "0.8.3"
|
||||
|
||||
[libraries]
|
||||
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
||||
|
||||
[plugins]
|
||||
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
|
||||
intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" }
|
||||
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
Loading…
Reference in New Issue
Block a user