mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
41 lines
950 B
Groovy
41 lines
950 B
Groovy
// Copyright 2000-2020 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 '0.4.17'
|
|
}
|
|
|
|
group 'org.intellij.sdk'
|
|
version '2.0.0'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
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.
|
|
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 {
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
|
|
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
|
intellij {
|
|
version '2019.3.3'
|
|
plugins 'java'
|
|
sameSinceUntilBuild = true
|
|
}
|
|
|
|
patchPluginXml {
|
|
version = project.version
|
|
}
|