Skip to content
Permalink
Browse files

Prepare for release

  • Loading branch information
aalmiray committed Oct 11, 2014
1 parent 2c9cc38 commit 0977a11d93ff553ed997f56d3b4d8638e62bffbc
@@ -7,7 +7,7 @@ script:
- TERM=dumb ./gradlew build cobertura

jdk:
- oraclejdk7
- oraclejdk8

before_install:
- export DISPLAY=:99.0
@@ -1,13 +1,11 @@
= griffon-icomoonicons-plugin
:version: 1.0.0.SNAPSHOT
:linkattrs:
:project-name: griffon-icomoonicons-plugin

image:http://img.shields.io/travis/griffon-plugins/{project-name}/master.svg["Build Status", link="https://travis-ci.org/griffon-plugins/{project-name}"]
image:http://img.shields.io/coveralls/griffon-plugins/{project-name}/master.svg["Coverage Status", link="https://coveralls.io/r/griffon-plugins/{project-name}"]
image:http://img.shields.io/:semver-{version}-blue.svg["Semantic Versioning", link="http://semver.org"]
image:http://img.shields.io/badge/license-ASF2-blue.svg["Apache License 2", link="http://www.apache.org/licenses/LICENSE-2.0.txt"]
image:http://img.shields.io/badge/download-latest-bb00bb.svg[link="https://bintray.com/griffon/griffon-plugins/{project-name}/_latestVersion"]
image:https://api.bintray.com/packages/griffon/griffon-plugins/{project-name}/images/download.svg[link="https://bintray.com/griffon/griffon-plugins/{project-name}/_latestVersion"]

---

@@ -6,15 +6,15 @@ buildscript {
}

dependencies {
classpath 'org.codehaus.griffon:gradle-griffon-plugin:2.0.0.RC2'
classpath 'org.codehaus.griffon:gradle-griffon-build-plugin:2.0.0.RC2'
classpath 'org.codehaus.griffon:gradle-griffon-plugin:2.0.0'
classpath 'org.codehaus.griffon:gradle-griffon-build-plugin:2.0.0'
classpath 'net.saliman:gradle-cobertura-plugin:2.2.4'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.0'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.5'
classpath 'org.ajoberstar:gradle-git:0.9.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.6'
classpath 'org.ajoberstar:gradle-git:0.11.1'
classpath 'org.kordamp.gradle:stats-gradle-plugin:0.1.1'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.5-beta-6'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.5'
}
}

@@ -25,7 +25,7 @@ apply plugin: 'build-dashboard'
apply from: 'gradle/idea.gradle'
apply plugin: 'org.codehaus.griffon.griffon-build'
apply from: 'gradle/bom.gradle'
apply plugin: 'github-pages'
apply plugin: 'org.ajoberstar.github-pages'

Date buildTimeAndDate = new Date()
ext {
@@ -56,6 +56,11 @@ subprojects { subproj ->
testCompileOnly
}

subproj.tasks.withType(JavaCompile) {
sourceCompatibility = rootProject.sourceCompatibility
targetCompatibility = rootProject.targetCompatibility
}

sourceSets {
main {
compileClasspath += [configurations.compileOnly]
@@ -1,7 +1,7 @@
group=org.codehaus.griffon.plugins
version=1.0.0-SNAPSHOT
version=1.0.0
pluginBaseName=griffon-icomoonicons
griffonVersion=2.0.0.RC2
griffonVersion=2.0.0
griffonPlugin=true
publishJars=false
sourceCompatibility=1.7
@@ -17,10 +17,12 @@ publishToMavenLocal.dependsOn generateBom

gradle.taskGraph.whenReady { g ->
def generatePom = gradle.taskGraph.allTasks.find { it.name == 'generatePomFileForMavenBomPublication' }
def publicationExt = project.extensions.findByType(PublishingExtension)
def pub = publicationExt.publications.findByName('mavenBom')
generatePom?.doLast {
copy {
into project.file("${buildDir}/publications/mavenBom")
from generateBom.outputDir
into pub.asNormalisedPublication().pomFile.parentFile
from generateBom.outputFile
rename generateBom.outputFile.name, 'pom-default.xml'
}
}
@@ -11,7 +11,7 @@ cobertura {
}

jacoco {
toolVersion = '0.7.1.201405082137'
toolVersion = '0.7.2.201409121644'
}

jacocoTestReport {
@@ -1,12 +1,13 @@
apply plugin: 'findbugs'
// apply plugin: 'findbugs'
apply plugin: 'jdepend'
apply plugin: 'com.github.hierynomus.license'

def configDir = new File(buildscript.sourceFile.parentFile.parentFile, 'config')
ext.checkstyleConfigDir = "$configDir/checkstyle"

/*
findbugs {
toolVersion = '2.0.3'
toolVersion = '3.0.0'
sourceSets = [sourceSets.main]
ignoreFailures = true
reportsDir = file("$project.buildDir/reports/findbugs")
@@ -27,6 +28,7 @@ findbugsTest {
html.enabled = true
}
}
*/

jdepend {
toolVersion = '2.9.1'
BIN +0 Bytes (100%) gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
@@ -1,6 +1,6 @@
#Mon Aug 04 22:22:20 CEST 2014
#Mon Sep 08 14:12:16 CEST 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-bin.zip
@@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:0.7.3'
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.0'
classpath 'org.gradle.api.plugins:gradle-java2html-plugin:0.4'
}
}
@@ -190,18 +190,16 @@ asciidoctor {
linkcss : true,
stylesheet : 'css/style.css',
'source-highlighter' : 'coderay',
'coderay-linenums-mode': 'inline',
'project-name' : 'Griffon IcoMoon Icons Plugin',
'project-author' : 'Andres Almiray',
'project-version' : project.version,
'project-group' : project.group,
'coderay-linenums-mode': 'table',
'project-title' : project.projectDescription,
'project-author' : 'Andres Almiray',
'project-url' : project.projectWebsiteUrl,
'project-vcs' : project.projectVcsUrl,
'project-issue-tracker': project.projectIssueTrackerUrl,
'griffon-version' : rootProject.griffonVersion
]
]
sourceDocumentName = project.file('src/asciidoc/index.adoc')
sourceDocumentNames = files('src/asciidoc/index.adoc')

doFirst { task ->
copy {
@@ -226,6 +224,6 @@ task guide(type: Copy, dependsOn: [apiDocs, java2html, asciidoctor]) {
}

task guideZip(type: Zip, dependsOn: guide) {
baseName = '${pluginBaseName}-guide'
baseName = "${pluginBaseName}-guide"
from "$buildDir/guide"
}
@@ -1,4 +1,4 @@

:link_icomoonicons: link:https://icomoon.io/#icons-icomoon[IcoMoon Icon Pack, window="_blank"].
:link_icomoonicons: link:https://icomoon.io/#icons-icomoon[IcoMoon Icon Pack, window="_blank"]
:api_link_icomoonicon_javafx: link:api/griffon/javafx/support/icomoonicons/IcoMoonIcon.html[griffon.javafx.support.icomoonicons.IcoMoonIcon, window="_blank"]
:api_link_icomoonicon_swing: link:api/griffon/swing/support/icomoonicons/IcoMoonIcon.html[griffon.swing.support.icomoonicons.IcoMoonIcon, window="_blank"]
@@ -1,7 +1,6 @@

[[_configuration]]
= Configuration
:groupId: org.codehaus.griffon.plugins

The plugin delivers artifacts for both Swing and JavaFX. It also contains Groovy enhancements
that can be used in combination with the respective UI toolkit DSL (SwingBuilder and GroovyFX).
@@ -13,13 +12,13 @@ You have two options for configuring this plugin: automatic and manual.
=== Automatic

As long as the project has the `org.codehaus.griffon.griffon` plugin applied to it you
may include the following snippet in +build.gradle+
may include the following snippet in `build.gradle`

[source,groovy,options="nowrap"]
[subs="attributes"]
----
dependencies {
griffon '{groupId}:griffon-icomoonicons-plugin:{project-version}'
griffon '{project-group}:griffon-icomoonicons-plugin:{project-version}'
}
----

@@ -34,7 +33,7 @@ You will need to configure any of the following blocks depending on your setup
[subs="attributes"]
----
dependencies {
compile '{groupId}:griffon-icomoonicons-swing:{project-version}'
compile '{project-group}:griffon-icomoonicons-swing:{project-version}'
}
----

@@ -43,7 +42,7 @@ dependencies {
[subs="attributes"]
----
dependencies {
compile '{groupId}:griffon-icomoonicons-javafx:{project-version}'
compile '{project-group}:griffon-icomoonicons-javafx:{project-version}'
}
----

@@ -52,7 +51,7 @@ dependencies {
[subs="attributes"]
----
dependencies {
compile '{groupId}:griffon-icomoonicons-swing-groovy:{project-version}'
compile '{project-group}:griffon-icomoonicons-swing-groovy:{project-version}'
}
----

@@ -61,7 +60,7 @@ dependencies {
[subs="attributes"]
----
dependencies {
compile '{groupId}:griffon-icomoonicons-javafx-groovy:{project-version}'
compile '{project-group}:griffon-icomoonicons-javafx-groovy:{project-version}'
}
----

@@ -76,7 +75,7 @@ snippet before the `<build>` element
<dependencyManagement>
<dependencies>
<dependency>
<groupId>{groupId}</groupId>
<groupId>{project-group}</groupId>
<artifactId>griffon-icomoonicons-plugin</artifactId>
<version>{project-version}</version>
<type>pom</type>
@@ -93,7 +92,7 @@ Next configure dependencies as required by your particular setup
[subs="attributes,verbatim"]
----
<dependency>
<groupId>{groupId}</groupId>
<groupId>{project-group}</groupId>
<artifactId>griffon-icomoonicons-swing</artifactId>
</dependency>
----
@@ -103,7 +102,7 @@ Next configure dependencies as required by your particular setup
[subs="attributes,verbatim"]
----
<dependency>
<groupId>{groupId}</groupId>
<groupId>{project-group}</groupId>
<artifactId>griffon-icomoonicons-javafx</artifactId>
</dependency>
----
@@ -113,7 +112,7 @@ Next configure dependencies as required by your particular setup
[subs="attributes,verbatim"]
----
<dependency>
<groupId>{groupId}</groupId>
<groupId>{project-group}</groupId>
<artifactId>griffon-icomoonicons-swing-groovy</artifactId>
</dependency>
----
@@ -123,7 +122,7 @@ Next configure dependencies as required by your particular setup
[subs="attributes,verbatim"]
----
<dependency>
<groupId>{groupId}</groupId>
<groupId>{project-group}</groupId>
<artifactId>griffon-icomoonicons-javafx-groovy</artifactId>
</dependency>
----
@@ -1,4 +1,4 @@
= {project-name}
= {project-title}
:author: {project-author}
:revnumber: {project-version}
:toclevels: 10
@@ -13,9 +13,9 @@ binding if the wrong type has been applied by the Griffon runtime.

== JavaFX

Module name: +icomoonicons-javafx-groovy+
Module name: `icomoonicons-javafx-groovy`

Depends on: +javafx-groovy+
Depends on: `javafx-groovy`

[source,java,options="nowrap"]
----
@@ -27,14 +27,14 @@ The following nodes will become available on a Groovy View
[options="2*,header"]
|===
| Node | Type
| icoMoonIcon | +{api_link_icomoonicon_javafx}+
| icoMoonIcon | `{api_link_icomoonicon_javafx}`
|===

== Swing

Module name: +icomoonicons-swing-groovy+
Module name: `icomoonicons-swing-groovy`

Depends on: +swing-groovy+
Depends on: `swing-groovy`

[source,java,options="nowrap"]
----
@@ -46,11 +46,11 @@ The following nodes will become available on a Groovy View
[options="2*,header"]
|===
| Node | Type
| icoMoonIcon | +{api_link_icomoonicon_swing}+
| icoMoonIcon | `{api_link_icomoonicon_swing}`
|===

Both `icoMoonIcon` Nodes support the following properties

icon:: The name of the icon, such as +github+ or +twitter+.
size:: The size of the icon. Either +16+ or +32+.
icon:: The name of the icon, such as `github` or `twitter`.
size:: The size of the icon. Either `16` or `32`.

@@ -1,6 +1,6 @@
<html>
<head>
<title>griffon-icomoonicons-plugin 1.0.0-SNAPSHOT</title>
<title>griffon-icomoonicons-plugin 1.0.0</title>
</head>
<body>

0 comments on commit 0977a11

Please sign in to comment.
You can’t perform that action at this time.