Skip to content

Commit 820651f

Browse files
committed
use scm4j-releaser-gradle-plugin
1 parent 6434fa8 commit 820651f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ plugins {
55
id 'idea'
66
id 'jacoco'
77
id 'com.github.kt3k.coveralls' version '2.8.1'
8+
id 'org.scm4j.releaser.scm4j-releaser-gradle-plugin' version '0.2.0'
89
}
910

1011
sourceCompatibility = JavaVersion.VERSION_1_8
1112
targetCompatibility = JavaVersion.VERSION_1_8
1213

1314
group = 'org.scm4j'
14-
version = file('version').text.trim()
1515

1616
sourceSets {
1717
inv {
@@ -49,13 +49,6 @@ test {
4949
}
5050

5151
dependencies {
52-
// load managed dependencies
53-
def s = '[ \t]*', w = '[^:#@]+?'
54-
(file('mdeps').text =~ /(?m)^$s($w):($w):($w)?(:$w)?(@$w)?$s(?:#$s($w)?$s)?$/).each {
55-
match, group, name, version, classifier, ext, configuration ->
56-
add(configuration ?: name.contains('test') ? 'testCompile' : 'compile', "$group:$name:${version?:''}${classifier?:''}${ext?:''}", { changing = true })
57-
}
58-
5952
testCompile 'com.github.stefanbirkner:system-rules:1.16.1'
6053
testCompile 'junit:junit:4.12'
6154
testCompile 'org.mockito:mockito-core:2.0.62-beta'

gradlew.launch

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
3+
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
4+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/gradlew.bat"/>
5+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="${string_prompt}"/>
6+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
7+
</launchConfiguration>

0 commit comments

Comments
 (0)