diff --git a/python/educational-core/build.gradle b/python/educational-core/build.gradle new file mode 100644 index 000000000000..e563ad317069 --- /dev/null +++ b/python/educational-core/build.gradle @@ -0,0 +1,66 @@ +import org.apache.tools.ant.filters.ReplaceTokens + +plugins { + id "org.jetbrains.intellij" version "0.0.39" +} + +subprojects { + + apply plugin: 'java' + apply plugin: "org.jetbrains.intellij" + + tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } + + sourceSets { + main { + java.srcDir 'src' + resources.srcDir 'resources' + } + test { + java.srcDir 'test' + } + } + + intellij { + version ideaVersion + updateSinceUntilBuild true + downloadSources Boolean.valueOf(downloadIdeaSources) + } + + processResources { + filter ReplaceTokens, tokens: [ + 'VERSION': version.toString(), + 'BUILD-NUMBER': buildNumber, + ] + } + + afterEvaluate { + tasks.getByName('buildPlugin') { + archiveName = "$intellij.pluginName-$version-${buildNumber}.zip" + } + } +} + +project(':student') { + + dependencies { + compile fileTree(dir: 'lib', include: ['*.jar']) + } + + intellij { + pluginName 'student' + } + +} + +project(':course-creator') { + + dependencies { + compile project(':student') + } + + intellij { + pluginName 'course-creator' + } + +} \ No newline at end of file diff --git a/python/educational-core/course-creator/course-creator.iml b/python/educational-core/course-creator/course-creator.iml index fed8cc4ab07d..e1b3cb0ba27c 100644 --- a/python/educational-core/course-creator/course-creator.iml +++ b/python/educational-core/course-creator/course-creator.iml @@ -5,6 +5,8 @@ + + diff --git a/python/educational-core/educational-core.iml b/python/educational-core/educational-core.iml index aa1983234de3..aa1fa8d39271 100644 --- a/python/educational-core/educational-core.iml +++ b/python/educational-core/educational-core.iml @@ -5,6 +5,8 @@ + + diff --git a/python/educational-core/gradle.properties b/python/educational-core/gradle.properties new file mode 100644 index 000000000000..a54d6c732a4b --- /dev/null +++ b/python/educational-core/gradle.properties @@ -0,0 +1,5 @@ +ideaVersion IC-2016.1 +downloadIdeaSources true +version 2.0.5 +buildNumber 145.597 +javaVersion 1.8 diff --git a/python/educational-core/settings.gradle b/python/educational-core/settings.gradle new file mode 100644 index 000000000000..8377fed16671 --- /dev/null +++ b/python/educational-core/settings.gradle @@ -0,0 +1 @@ +include 'student', 'course-creator' \ No newline at end of file diff --git a/python/educational-core/student/student.iml b/python/educational-core/student/student.iml index fed7c3cddcf5..e16fc06deca8 100644 --- a/python/educational-core/student/student.iml +++ b/python/educational-core/student/student.iml @@ -5,6 +5,8 @@ + +