Skip to content

Commit

Permalink
Add full module descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Dec 10, 2020
1 parent 4518024 commit e968d67
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 35 deletions.
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Contains the specification and API sources for link:https://jcp.org/en/jsr/detail?id=377[JSR-377].

image:http://img.shields.io/travis/{project-owner}/{project-name}/master.svg["Build Status", link="https://travis-ci.org/{project-owner}/{project-name}"]
image:https://github.com/{project-owner}/{project-name}/workflows/Build/badge.svg["Build Status", link="https://github.com/{project-owner}/{project-name}/actions"]
image:https://badges.gitter.im/Join%20Chat.svg[Gitter, link="https://gitter.im/jsr377/jsr377-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge"]
image:http://img.shields.io/badge/license-ASF2-blue.svg["Apache License 2", link="http://www.apache.org/licenses/LICENSE-2.0.txt"]
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

asciidoctorVersion = 1.6.1
kordampPluginVersion = 0.41.0
kordampPluginVersion = 0.42.0

org.gradle.daemon = true
org.gradle.caching = true
Expand Down
3 changes: 2 additions & 1 deletion jsr377-api/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
# limitations under the License.
#

project_description=JSR 377 - Desktop|Embedded Application API
javaCompatibility = 8
project_description = JSR 377 - Desktop|Embedded Application API
11 changes: 2 additions & 9 deletions jsr377-api/jsr377-api.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@
*/
plugins {
id 'java-library'
id 'org.beryx.jar'
id 'org.jonnyzzz.java9c'
}

dependencies {
api 'javax.inject:javax.inject:1'
}

evaluationDependsOn(':diagrams')

task copyDiagrams(type: Copy) {
Expand All @@ -35,9 +32,5 @@ task copyDiagrams(type: Copy) {
javadoc.finalizedBy copyDiagrams

jar {
manifest {
attributes(
'Automatic-Module-Name': 'javax.application'
)
}
moduleInfoPath = 'src/main/module/module-info.java'
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
package javax.application.action;

import javax.inject.Qualifier;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand All @@ -28,7 +27,6 @@
/**
* @author Andres Almiray
*/
@Qualifier
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
Expand Down
29 changes: 29 additions & 0 deletions jsr377-api/src/main/module/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2015-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

module javax.application {
exports javax.application;
exports javax.application.action;
exports javax.application.configuration;
exports javax.application.converter;
exports javax.application.converter.spi;
exports javax.application.event;
exports javax.application.i18n;
exports javax.application.resources;
exports javax.application.threading;
}
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pluginManagement {
id 'org.kordamp.gradle.java-project' version kordampPluginVersion
id 'org.kordamp.gradle.bintray' version kordampPluginVersion
id 'org.jonnyzzz.java9c' version '0.2.3'
id 'org.beryx.jar' version '1.2.0'
id 'org.asciidoctor.convert' version asciidoctorVersion
}
}
Expand Down

0 comments on commit e968d67

Please sign in to comment.