mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
47 lines
1.1 KiB
Groovy
47 lines
1.1 KiB
Groovy
// Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'org.jetbrains.intellij' version '1.1.4'
|
|
}
|
|
|
|
group 'org.intellij.sdk'
|
|
version '2.0.0'
|
|
|
|
sourceCompatibility = 11
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
test {
|
|
// This path value is machine-specific placeholder text.
|
|
// Set idea.home.path to the absolute path to the intellij-community source
|
|
// on your local machine.
|
|
// Use variants described in https://docs.gradle.org/current/userguide/build_environment.html
|
|
// for real world projects.
|
|
systemProperty "idea.home.path", "/Users/jhake/Documents/source/comm"
|
|
}
|
|
|
|
// Include the generated files in the source set
|
|
sourceSets.main.java.srcDirs 'src/main/gen'
|
|
|
|
dependencies {
|
|
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
|
|
}
|
|
|
|
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
|
intellij {
|
|
version = '2020.3.4'
|
|
plugins = ['com.intellij.java']
|
|
}
|
|
|
|
buildSearchableOptions {
|
|
enabled = false
|
|
}
|
|
|
|
patchPluginXml {
|
|
version = project.version
|
|
sinceBuild = '203'
|
|
untilBuild = '212.*'
|
|
} |