forked from de-jcup/eclipse-asciidoctor-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently not building anything just setting up the build and Github action For de-jcup#371
- Loading branch information
Showing
3 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This workflow will build a Java project with Gradle | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | ||
|
||
name: Java CI with Gradle | ||
on: | ||
push: | ||
branches-ignore: | ||
- documentation | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Build with Gradle | ||
run: ./mvn clean verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<extensions> | ||
<extension> | ||
<groupId>org.eclipse.tycho.extras</groupId> | ||
<artifactId>tycho-pomless</artifactId> | ||
<version>2.4.0</version> | ||
</extension> | ||
</extensions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<project> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>eclipse.asciidoctor.editor</groupId> | ||
<artifactId>releng</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>tycho-snapshots</id> | ||
<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
|
||
<properties> | ||
<tycho.version>2.5.0-SNAPSHOT</tycho.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
|
||
<build> | ||
|
||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-p2-director-plugin</artifactId> | ||
<version>${tycho.version}</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
|
||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-maven-plugin</artifactId> | ||
<version>${tycho.version}</version> | ||
<extensions>true</extensions> | ||
</plugin> | ||
<!--Enable the replacement of the SNAPSHOT version in the final product configuration--> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-packaging-plugin</artifactId> | ||
<version>${tycho.version}</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<id>package-feature</id> | ||
<configuration> | ||
<finalName>${project.artifactId}_${unqualifiedVersion}.${buildQualifier}</finalName> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>target-platform-configuration</artifactId> | ||
<version>${tycho.version}</version> | ||
<configuration> | ||
<target> | ||
<file>../target-platform/target-platform.target</file> | ||
</target> | ||
<resolveWithExecutionEnvironmentConstraints>false</resolveWithExecutionEnvironmentConstraints> | ||
|
||
<environments> | ||
<environment> | ||
<os>linux</os> | ||
<ws>gtk</ws> | ||
<arch>x86_64</arch> | ||
</environment> | ||
<environment> | ||
<os>win32</os> | ||
<ws>win32</ws> | ||
<arch>x86_64</arch> | ||
</environment> | ||
<environment> | ||
<os>macosx</os> | ||
<ws>cocoa</ws> | ||
<arch>x86_64</arch> | ||
</environment> | ||
</environments> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
|
||
<modules> | ||
|
||
</modules> | ||
</project> |