mirror of
https://github.com/chylex/IntelliJ-AceJump.git
synced 2025-05-29 12:34:07 +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.Changelog.OutputType.HTML
|
||||||
import org.jetbrains.changelog.date
|
import org.jetbrains.changelog.date
|
||||||
|
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
idea
|
idea
|
||||||
kotlin("jvm") version "1.8.20" // https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library
|
alias(libs.plugins.kotlin) // Kotlin support
|
||||||
id("org.jetbrains.intellij") version "1.17.3"
|
alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin
|
||||||
id("org.jetbrains.changelog") version "2.2.0"
|
alias(libs.plugins.changelog) // Gradle Changelog Plugin
|
||||||
|
alias(libs.plugins.kover) // Gradle Kover Plugin
|
||||||
id("com.github.ben-manes.versions") version "0.51.0"
|
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
|
// Remove pending: https://youtrack.jetbrains.com/issue/IDEA-278926
|
||||||
val test by getting(Test::class) {
|
val test by getting(Test::class) {
|
||||||
isScanForTestClasses = false
|
isScanForTestClasses = false
|
||||||
@ -71,18 +69,31 @@ changelog {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
intellijPlatform.defaultRepositories()
|
||||||
|
// intellijPlatform.localPlatformArtifacts()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// https://github.com/anyascii/anyascii
|
// https://github.com/anyascii/anyascii
|
||||||
implementation("com.anyascii:anyascii:0.3.2")
|
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 {
|
intellijPlatform {
|
||||||
version = "2024.1"
|
pluginConfiguration {
|
||||||
pluginName = "AceJump"
|
version = acejumpVersion
|
||||||
updateSinceUntilBuild = false
|
name = "AceJump"
|
||||||
plugins = listOf("java")
|
}
|
||||||
|
|
||||||
|
pluginVerification.ides.recommended()
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "org.acejump"
|
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
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
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
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
Loading…
Reference in New Issue
Block a user