Skip to content

Commit

Permalink
Merge branch 'rewrite-kotlin'
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrullmann committed Sep 23, 2020
2 parents 6962122 + 3872262 commit 3f32e5a
Show file tree
Hide file tree
Showing 176 changed files with 6,271 additions and 1,628 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# IntelliJ IDEA
.idea/
*.iml
out/

# Gradle
.gradle/
build/
.idea/
**/*.iml
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Till Krullmann
Copyright (c) 2020 Till Krullmann

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
55 changes: 55 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
ifdef::env-github[]
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[]

= Gradle XJC Plugin

Invokes the `xjc` binding compiler from a Gradle build.


== Features

- Automatically enable XJC code generation for each source set in your project
- support different versions of XJC through classpath isolation
- producing and consuming episodes
- catalogs with `maven:` and `classpath:` URI resolution (similar to maven-jaxb2-plugin)


== Requirements

- Gradle 5.6 or higher
- JDK 1.8 or higher (when running Gradle)


== Quick Start

Apply the `org.unbroken-dome.xjc` plugin to your Gradle build script and add an appropriate
dependency on the JAXB API:

[source,kotlin]
.build.gradle(.kts)
----
plugins {
id("org.unbroken-dome.xjc") version "2.0.0"
}
dependencies {
implementation("javax.xml.bind:jaxb-api:2.3.0")
}
----

Put your schemas (`.xsd`), binding customization files (`.xjb`) and catalogs (`.cat`)
into `src/main/schema`.

That's it! The plugin will automatically invoke XJC to generate code from your schemas and include
it the `main` Java compilation.


== Further Documentation

* https://unbroken-dome.github.io/projects/gradle-xjc-plugin/[User Manual]
* https://unbroken-dome.github.io/projects/gradle-xjc-plugin/dokka/gradle-xjc-plugin/[API/DSL Documentation]
314 changes: 0 additions & 314 deletions README.md

This file was deleted.

Loading

0 comments on commit 3f32e5a

Please sign in to comment.