local idea path for the edu-core and edu-python builds

This commit is contained in:
Ekaterina Tuzova
2017-04-14 19:15:32 +03:00
parent c0894ddfb2
commit 9ff5c8176f
2 changed files with 21 additions and 20 deletions
+15 -4
View File
@@ -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 {