Skip to content

Commit

Permalink
Initial moving to gradle model
Browse files Browse the repository at this point in the history
  • Loading branch information
zolotov committed Jul 1, 2016
1 parent 1644fa3 commit 3473de9
Show file tree
Hide file tree
Showing 21 changed files with 366 additions and 217 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -9,3 +9,8 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

.idea/
.gradle/
build/
*.iml
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/artifacts/markdown_jar.xml

This file was deleted.

4 changes: 4 additions & 0 deletions .idea/compiler.xml

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

2 changes: 1 addition & 1 deletion .idea/encodings.xml

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

9 changes: 0 additions & 9 deletions .idea/libraries/JUnit4.xml

This file was deleted.

40 changes: 37 additions & 3 deletions .idea/misc.xml

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

4 changes: 3 additions & 1 deletion .idea/modules.xml

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

31 changes: 0 additions & 31 deletions .idea/runConfigurations/All_Tests.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/scopes/scope_settings.xml

This file was deleted.

124 changes: 0 additions & 124 deletions .idea/uiDesigner.xml

This file was deleted.

54 changes: 54 additions & 0 deletions build.gradle
@@ -0,0 +1,54 @@
buildscript {
ext.kotlin_version = '1.0.3'

repositories {
mavenCentral()
}

dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

repositories {
flatDir {
dirs 'lib'
}
mavenCentral()
}

apply plugin: 'kotlin'

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile name: 'idea_rt'
testCompile 'junit:junit:4.12'

}

sourceSets {
main.kotlin.srcDirs = ['src']
test.kotlin.srcDirs = ['test']

main.java.srcDirs = ['src/org/intellij/markdown/lexer', 'src/org/intellij/markdown/flavours/gfm/lexer']
main.resources.srcDirs = []
}

test {
useJUnit {
excludeCategories 'org.intellij.markdown.ParserPerformanceTest'
}
testLogging {
exceptionFormat = 'full'
}
outputs.upToDateWhen { false }
}

task performanceTest(type: Test, group: 'verification', dependsOn: [classes, testClasses]) {
useJUnit {
includeCategories 'org.intellij.markdown.ParserPerformanceTest'
}
testLogging {
exceptionFormat = 'full'
}
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
#Fri Jul 01 16:27:54 MSK 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip

0 comments on commit 3473de9

Please sign in to comment.