Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #159 from Shan1024/gradle-support
Browse files Browse the repository at this point in the history
Add Gradle support
  • Loading branch information
sameerajayasoma authored Mar 1, 2017
2 parents cbf26b8 + 3b06865 commit ea6600a
Show file tree
Hide file tree
Showing 142 changed files with 42 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ hs_err_pid*

/out/
*.*~
/.idea/workspace.xml
!/lib/antlr4-runtime-4.6.jar
/.idea/uiDesigner.xml
/Ballerina-Intellij-plugin.zip
/Ballerina-Intellij-plugin/
/.gradle/
/.idea/
/build/
/Ballerina-Intellij-plugin.iml
/plugin-intellij.iws
3 changes: 3 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions Ballerina-Intellij-plugin.iml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PLUGIN_MODULE" version="4">
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/resources/META-INF/plugin.xml" />
<component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/src/main/resources/META-INF/plugin.xml" />
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/adaptor/src" isTestSource="false" />
</content>
Expand Down
31 changes: 31 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
buildscript {
repositories {
maven { url 'http://dl.bintray.com/jetbrains/intellij-plugin-service' }
}
}

plugins {
id "org.jetbrains.intellij" version "0.2.5"
}

dependencies {
compile files('lib/antlr4-runtime-4.6.jar')
}

apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'

sourceSets {
main {
java {
srcDirs = ['src/main/java', 'adaptor/src', 'gen/']
}
}
}

intellij {
version 'IC-2016.3' //IntelliJ IDEA 2016.3 dependency; for a full list of IntelliJ IDEA releases please see https://www.jetbrains.com/intellij-repository/releases
plugins 'coverage' //Bundled plugin dependencies
pluginName 'Ballerina-IntelliJ-Plugin'
}
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit ea6600a

Please sign in to comment.