Skip to content

Commit e08338a

Browse files
authored
Merge pull request #5 from UrbanCode/PLUGINS-4769
Plugins 4769
2 parents 370d798 + a913a18 commit e08338a

22 files changed

Lines changed: 119 additions & 101 deletions

ivy.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<!-- http://search.maven.org/#artifactdetails%7Corg.hamcrest%7Chamcrest-core%7C1.3%7Cjar -->
2323
<dependency org="org.hamcrest" name="hamcrest-core" rev="1.3" transitive="false" conf="test->default"/>
2424
<!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-all -->
25-
<dependency org="org.codehaus.groovy" name="groovy-all" rev="1.8.8" transitive="false" conf="build->default"/>
25+
<dependency org="org.codehaus.groovy" name="groovy" rev="3.0.9" transitive="false" conf="build->default"/>
26+
<dependency org="org.codehaus.groovy" name="groovy-ant" rev="3.0.9" transitive="false" conf="build->default"/>
2627
</dependencies>
2728
</ivy-module>

ivysettings.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<ivysettings>
2+
3+
<include url="${ivy.default.settings.dir}/ivysettings.xml"/>
4+
5+
<resolvers>
6+
7+
<ibiblio name="central" m2compatible="true" root="https://repo.maven.apache.org/maven2/"/>
8+
9+
<chain name="external" returnFirst="true">
10+
<resolver ref="default"/>
11+
<resolver ref="central"/>
12+
</chain>
13+
</resolvers>
14+
15+
<settings defaultResolver="external"/>
16+
17+
</ivysettings>

src/main/scripts/changelogsync.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import com.urbancode.air.CommandHelper;
22

3-
final def inputPropsFile = new File(args[0])
4-
final def outputPropsFile = new File(args[1])
3+
def inputPropsFile = new File(args[0])
4+
def outputPropsFile = new File(args[1])
55

6-
final def props = new Properties()
6+
def props = new Properties()
77
try {
88
props.load(new FileInputStream(inputPropsFile))
99
}
1010
catch (IOException e) {
1111
throw new RuntimeException(e)
1212
}
1313

14-
final def cwd = new File('.');
15-
final def cmdHelper = new CommandHelper(cwd);
14+
def cwd = new File('.');
15+
def cmdHelper = new CommandHelper(cwd);
1616

1717

1818

src/main/scripts/checkdrivers.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import com.urbancode.air.CommandHelper;
22

3-
final def inputPropsFile = new File(args[0])
4-
final def outputPropsFile = new File(args[1])
3+
def inputPropsFile = new File(args[0])
4+
def outputPropsFile = new File(args[1])
55

6-
final def props = new Properties()
6+
def props = new Properties()
77
try {
88
props.load(new FileInputStream(inputPropsFile))
99
}
1010
catch (IOException e) {
1111
throw new RuntimeException(e)
1212
}
1313

14-
final def cwd = new File('.');
15-
final def cmdHelper = new CommandHelper(cwd);
14+
def cwd = new File('.');
15+
def cmdHelper = new CommandHelper(cwd);
1616

1717

1818

src/main/scripts/checkrules.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import com.urbancode.air.CommandHelper;
22

3-
final def inputPropsFile = new File(args[0])
4-
final def outputPropsFile = new File(args[1])
3+
def inputPropsFile = new File(args[0])
4+
def outputPropsFile = new File(args[1])
55

6-
final def props = new Properties()
6+
def props = new Properties()
77
try {
88
props.load(new FileInputStream(inputPropsFile))
99
}
1010
catch (IOException e) {
1111
throw new RuntimeException(e)
1212
}
1313

14-
final def cwd = new File('.');
15-
final def cmdHelper = new CommandHelper(cwd);
14+
def cwd = new File('.');
15+
def cmdHelper = new CommandHelper(cwd);
1616

1717

1818

src/main/scripts/clearchecksums.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import com.urbancode.air.CommandHelper;
22

3-
final def inputPropsFile = new File(args[0])
4-
final def outputPropsFile = new File(args[1])
3+
def inputPropsFile = new File(args[0])
4+
def outputPropsFile = new File(args[1])
55

6-
final def props = new Properties()
6+
def props = new Properties()
77
try {
88
props.load(new FileInputStream(inputPropsFile))
99
}
1010
catch (IOException e) {
1111
throw new RuntimeException(e)
1212
}
1313

14-
final def cwd = new File('.');
15-
final def cmdHelper = new CommandHelper(cwd);
14+
def cwd = new File('.');
15+
def cmdHelper = new CommandHelper(cwd);
1616

1717

1818

src/main/scripts/createnewdbdef.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import com.urbancode.air.CommandHelper;
22

3-
final def inputPropsFile = new File(args[0])
4-
final def outputPropsFile = new File(args[1])
3+
def inputPropsFile = new File(args[0])
4+
def outputPropsFile = new File(args[1])
55

6-
final def props = new Properties()
6+
def props = new Properties()
77
try {
88
props.load(new FileInputStream(inputPropsFile))
99
}
1010
catch (IOException e) {
1111
throw new RuntimeException(e)
1212
}
1313

14-
final def cwd = new File('.');
15-
final def cmdHelper = new CommandHelper(cwd);
14+
def cwd = new File('.');
15+
def cmdHelper = new CommandHelper(cwd);
1616

1717

1818

src/main/scripts/createnewproject.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import com.urbancode.air.CommandHelper;
22

3-
final def inputPropsFile = new File(args[0])
4-
final def outputPropsFile = new File(args[1])
3+
def inputPropsFile = new File(args[0])
4+
def outputPropsFile = new File(args[1])
55

6-
final def props = new Properties()
6+
def props = new Properties()
77
try {
88
props.load(new FileInputStream(inputPropsFile))
99
}
1010
catch (IOException e) {
1111
throw new RuntimeException(e)
1212
}
1313

14-
final def cwd = new File('.');
15-
final def cmdHelper = new CommandHelper(cwd);
14+
def cwd = new File('.');
15+
def cmdHelper = new CommandHelper(cwd);
1616

1717

1818

src/main/scripts/deploy.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import com.urbancode.air.CommandHelper;
22

3-
final def inputPropsFile = new File(args[0])
4-
final def outputPropsFile = new File(args[1])
3+
def inputPropsFile = new File(args[0])
4+
def outputPropsFile = new File(args[1])
55

6-
final def props = new Properties()
6+
def props = new Properties()
77
try {
88
props.load(new FileInputStream(inputPropsFile))
99
}
1010
catch (IOException e) {
1111
throw new RuntimeException(e)
1212
}
1313

14-
final def cwd = new File('.');
15-
final def cmdHelper = new CommandHelper(cwd);
14+
def cwd = new File('.');
15+
def cmdHelper = new CommandHelper(cwd);
1616

1717
//--------------------------------------------------------------------------------------------------
1818
def getAbsPath(def file) {

src/main/scripts/diff.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import com.urbancode.air.CommandHelper;
22

3-
final def inputPropsFile = new File(args[0])
4-
final def outputPropsFile = new File(args[1])
3+
def inputPropsFile = new File(args[0])
4+
def outputPropsFile = new File(args[1])
55

6-
final def props = new Properties()
6+
def props = new Properties()
77
try {
88
props.load(new FileInputStream(inputPropsFile))
99
}
1010
catch (IOException e) {
1111
throw new RuntimeException(e)
1212
}
1313

14-
final def cwd = new File('.');
15-
final def cmdHelper = new CommandHelper(cwd);
14+
def cwd = new File('.');
15+
def cmdHelper = new CommandHelper(cwd);
1616

1717

1818

0 commit comments

Comments
 (0)