Skip to content

Commit

Permalink
sync v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gythialy committed Nov 22, 2016
1 parent 6874ac8 commit 539543b
Show file tree
Hide file tree
Showing 45 changed files with 2,535 additions and 2,524 deletions.
30 changes: 27 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,35 @@ buildscript {
}
dependencies {
classpath "net.saliman:gradle-cobertura-plugin:2.2.8"
classpath group: "org.asciidoctor", name: "asciidoctorj-pdf", version: "1.5.0-alpha.11"

}
}

plugins {
id "org.sonarqube" version "1.0"
id "org.asciidoctor.convert" version "1.5.3"
}

apply plugin: "org.asciidoctor.convert"
apply plugin: "java"
apply from: "configuration.gradle"

asciidoctor {
backends = ["pdf", "html5"]
attributes "stylesheet": "openmuc-asciidoc.css",
"toc2": "left",
"sampleSrc": file("src/sample/java"),
"pdf-stylesdir": "./",
"pdf-style": "pdf"

resources {
from("$sourceDir") {
include "images/**"
}
}
}

configure(allprojects) {
version = cfgVersion
}
Expand Down Expand Up @@ -122,8 +142,9 @@ configure(javaProjects) {
}
}
}

build.dependsOn(jarAll)

build.dependsOn {asciidoctor}
build.dependsOn {jarAll}

eclipse.pathVariables([GRADLE_USER_HOME:file(gradle.gradleUserHomeDir)])
tasks.eclipse.dependsOn(cleanEclipse)
Expand Down Expand Up @@ -158,7 +179,7 @@ configure(repositoryProjects) {
if (cfgSignPom) {
signing {
if ( project.hasProperty('signing.keyId') ) {
sign configurations.archives
sign configurations.archives
}
}
}
Expand Down Expand Up @@ -220,6 +241,8 @@ task javadocAll(type: Javadoc) {
}

exclude '**/internal/**'
exclude '**/java-gen/**'
exclude '**/app/**'

destinationDir = new File(buildDir, 'docs/javadoc-all')

Expand Down Expand Up @@ -267,6 +290,7 @@ tasks.withType(Tar) {
dependsOn(writeSettings)
dependsOn(distributionProjects.build)
dependsOn(javadocAll)
dependsOn(asciidoctor)

compression = Compression.GZIP

Expand Down
27 changes: 21 additions & 6 deletions configuration.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

project.ext {

cfgVersion = '1.0.0'
cfgVersion = '1.1.0'

cfgGroup = 'org.openmuc'

Expand Down Expand Up @@ -35,12 +35,12 @@ tasks.withType(Tar) {
include 'build.gradle'
include 'configuration.gradle'
include 'license/**'
include 'doc/*.txt'
include 'doc/userguide/' + project.name + '-doc*.html'
include 'doc/userguide/' + project.name + '-doc_img/**'
include 'doc/CHANGELOG.txt'
include 'run-scripts/**'
include 'gradle/wrapper/**'
include 'gradlew'
include 'gradlew.bat'
include 'build/libs/**'
include 'build/docs/javadoc/**'
include 'src/**'
}

Expand All @@ -49,6 +49,22 @@ tasks.withType(Tar) {
}

}

into(project.name + '/doc/user-guide/') {
from('./build/asciidoc/html5/') {
include '**'
}
from('./build/asciidoc/pdf/') {
include '**'
}
}

into(project.name + '/doc/') {
from('./build/docs/') {
include 'javadoc/**'
}
}

}


Expand Down Expand Up @@ -87,4 +103,3 @@ uploadArchives {
}
}
}

13 changes: 11 additions & 2 deletions doc/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
v1.0 24-Feb-2016
----------------
v1.1.0 06-Jun-2016
------------------
- Renamed ClientSap to ClientConnectionBuilder and ServerSap to
Server.Builder
- fixed time conversion to ms of IeTime24 thanks to Jürgen Wieferink
from BTC AG
- added stopListening() to ServerSap allowing for clean close
- refactored console client

v1.0.0 24-Feb-2016
------------------
- fixed bug when creating multiple parallel connections using
the same ClientSap
- fixed a synchronization problem in the server implementation
Expand Down
Loading

0 comments on commit 539543b

Please sign in to comment.