Feat 3014 2 logicdata2c version2header migration (#3135)
* feat: completed build.gradle for logicdata2c * feat: completed build.gradle for version2header * fix: deleted obsolete build.xml for logicdata2c and version2header
This commit is contained in:
parent
0633ce5a0d
commit
d374f7d57a
|
@ -12,4 +12,8 @@ project(':models').projectDir = new File('../java_console/models')
|
|||
include ':autoupdate'
|
||||
project(':autoupdate').projectDir = new File('../java_console/autoupdate')
|
||||
include ':gcc_map_reader'
|
||||
project(':gcc_map_reader').projectDir = new File('../java_tools/gcc_map_reader')
|
||||
project(':gcc_map_reader').projectDir = new File('../java_tools/gcc_map_reader')
|
||||
include ':logicdata2c'
|
||||
project(':logicdata2c').projectDir = new File('../java_tools/logicdata2c')
|
||||
include ':version2header'
|
||||
project(':version2header').projectDir = new File('../java_tools/version2header')
|
|
@ -0,0 +1,22 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
defaultTasks 'jar'
|
||||
|
||||
dependencies {
|
||||
implementation 'junit:junit:4.8.2'
|
||||
}
|
||||
|
||||
jar {
|
||||
destinationDirectory = file( '$rootDir/../..' )
|
||||
manifest {
|
||||
attributes(
|
||||
'Main-Class': 'com.rusefi.LogicData2C'
|
||||
)
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
<project default="jar">
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="build"/>
|
||||
</target>
|
||||
|
||||
<target name="compile">
|
||||
<mkdir dir="build/classes"/>
|
||||
<javac destdir="build/classes" classpath="lib/junit.jar:lib/annotations.jar">
|
||||
<src path="src/main/java"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile">
|
||||
<mkdir dir="build/jar"/>
|
||||
<jar destfile="../logicdata2c.jar" basedir="build/classes">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="com.rusefi.LogicData2C"/>
|
||||
</manifest>
|
||||
<zipfileset dir="build/classes" includes="**/*.class"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,22 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
defaultTasks 'jar'
|
||||
|
||||
dependencies {
|
||||
implementation 'junit:junit:4.8.2'
|
||||
}
|
||||
|
||||
jar {
|
||||
destinationDirectory = file( '$rootDir/../..' )
|
||||
manifest {
|
||||
attributes(
|
||||
'Main-Class': 'com.rusefi.Version2Header'
|
||||
)
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
<project default="jar">
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="build"/>
|
||||
</target>
|
||||
|
||||
<target name="compile">
|
||||
<mkdir dir="build/classes"/>
|
||||
<javac destdir="build/classes" classpath="lib/junit.jar:lib/annotations.jar">
|
||||
<src path="src/main/java"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile">
|
||||
<mkdir dir="build/jar"/>
|
||||
<jar destfile="../version2header.jar" basedir="build/classes">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="com.rusefi.Version2Header"/>
|
||||
</manifest>
|
||||
<zipfileset dir="build/classes" includes="**/*.class"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue