mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
local idea path for the edu-core and edu-python builds
This commit is contained in:
@@ -4,16 +4,19 @@ buildscript {
|
||||
ext.kotlin_version = '1.0.6'
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
}
|
||||
maven {
|
||||
url 'http://dl.bintray.com/jetbrains/intellij-plugin-service'
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.2.0-SNAPSHOT"
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "org.jetbrains.intellij" version "0.0.39"
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'kotlin'
|
||||
@@ -94,6 +97,14 @@ project(':Edu-Python') {
|
||||
|
||||
intellij {
|
||||
pluginName 'Edu-Python'
|
||||
|
||||
if (project.hasProperty('ideaPath')) {
|
||||
localPath ideaPath
|
||||
} else {
|
||||
if (project.hasProperty('ideaVersion')) {
|
||||
version ideaVersion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
|
||||
Reference in New Issue
Block a user