mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
|
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
|
|
|
|
plugins {
|
|
id("java")
|
|
id("org.jetbrains.intellij.platform") version "2.6.0"
|
|
}
|
|
|
|
group = "org.intellij.sdk"
|
|
version = "2.0.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
intellijPlatform {
|
|
defaultRepositories()
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
intellijPlatform {
|
|
intellijIdeaCommunity("2024.2.6")
|
|
bundledPlugin("com.intellij.java")
|
|
|
|
testFramework(TestFrameworkType.Plugin.Java)
|
|
}
|
|
|
|
testImplementation("junit:junit:4.13.2")
|
|
// workaround for <2024.3
|
|
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-faq.html#missing-opentest4j-dependency-in-test-framework
|
|
testImplementation("org.opentest4j:opentest4j:1.3.0")
|
|
}
|
|
|
|
intellijPlatform {
|
|
buildSearchableOptions = false
|
|
|
|
pluginConfiguration {
|
|
ideaVersion {
|
|
sinceBuild = "242"
|
|
}
|
|
}
|
|
pluginVerification {
|
|
ides {
|
|
recommended()
|
|
}
|
|
}
|
|
}
|
|
|
|
|