Skip to content

Commit

Permalink
Generate Winamp XML beans with XJC
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Jan 3, 2022
1 parent 72d1b39 commit a246be6
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 419 deletions.
15 changes: 12 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ plugins {
id 'java'
id 'idea'
id 'edu.sc.seis.launch4j' version '2.5.1'
id "com.gitlab.svg2ico" version "0.11" // https://gitlab.com/svg2ico/svg2ico-gradle-plugin

/* https://gitlab.com/svg2ico/svg2ico-gradle-plugin */
id "com.gitlab.svg2ico" version "0.11"

/* Generate Java code from XSD */
id 'org.unbroken-dome.xjc' version '2.0.0'
}

apply plugin: "edu.sc.seis.launch4j"
Expand Down Expand Up @@ -60,14 +65,18 @@ application {
sourceSets {
main {
java {
srcDirs = ['src/main/java']
srcDirs = ['src/main/java', 'build/generated/sources/xjc/java/main']
}
resources {
srcDirs= ["src/main/resources"]
srcDirs= ['src/main/resources']
}
}
}

tasks.withType(JavaCompile) {
compileTask -> compileTask.dependsOn xjcGenerate
}

task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': project.mainClassName
Expand Down

This file was deleted.

203 changes: 0 additions & 203 deletions src/main/java/listfix/model/playlists/winamp/generated/Playlist.java

This file was deleted.

Loading

0 comments on commit a246be6

Please sign in to comment.