migrate to gradle part 2
This commit is contained in:
parent
d0f3644b1f
commit
47f1b10b99
15 changed files with 96 additions and 30 deletions
|
|
@ -2,15 +2,25 @@ plugins {
|
|||
id 'application'
|
||||
}
|
||||
|
||||
version = '1.6.1'
|
||||
|
||||
application {
|
||||
// Gradles 'application' plugin requires one main class; since we have multiple ones, just specify
|
||||
// one of them, since the applications won't be run from gradle anyways.
|
||||
mainClassName = 'btools.mapcreator.PosUnifier'
|
||||
mainClass.set('btools.mapcreator.PosUnifier')
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes "Main-Class": getMainClass()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':brouter-util')
|
||||
implementation project(':brouter-codec')
|
||||
implementation project(':brouter-util')
|
||||
implementation project(':brouter-expressions')
|
||||
implementation('junit:junit:4.13')
|
||||
|
||||
testImplementation('junit:junit:4.13.1')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public class MapcreatorTest
|
|||
Assert.assertTrue( "test-osm-map dreieich.osm not found", mapurl != null );
|
||||
File mapFile = new File(mapurl.getFile());
|
||||
File workingDir = mapFile.getParentFile();
|
||||
File profileDir = new File( workingDir, "/../../../misc/profiles2" );
|
||||
File profileDir = new File( workingDir, "/../../../../misc/profiles2" );
|
||||
File tmpdir = new File( workingDir, "tmp" );
|
||||
tmpdir.mkdir();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue