Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*.css text eol=lf
*.js text eol=lf
*.sql text eol=lf
*.kts text eol=lf
*.gradle.kts text eol=lf

###############################
# Git Large File System (LFS) #
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Build and Test

on:
pull_request:
branches: [main]

jobs:
build-and-test:
uses: eclipse-keyple/keyple-actions/.github/workflows/reusable-build-and-test.yml@build-and-test-v1
10 changes: 10 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Publish Release package

on:
release:
types: [published]

jobs:
publish-release:
uses: eclipse-keyple/keyple-actions/.github/workflows/reusable-publish-release.yml@publish-release-v1
secrets: inherit
10 changes: 10 additions & 0 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Publish Snapshot package

on:
push:
branches: [main]

jobs:
publish-snapshot:
uses: eclipse-keyple/keyple-actions/.github/workflows/reusable-publish-snapshot.yml@publish-snapshot-v1
secrets: inherit
70 changes: 0 additions & 70 deletions .github/workflows/publish-to-keyple-doc.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ local.properties
# Gradle
.gradle/
build*/
LICENSE_HEADER

# Eclipse
.classpath
Expand Down Expand Up @@ -42,4 +41,4 @@ Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
*.stackdump
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Migrated the CI pipeline from Jenkins to GitHub Actions.

## [3.0.0] - 2025-02-10
### Breaking changes
Expand Down
94 changes: 0 additions & 94 deletions Jenkinsfile

This file was deleted.

11 changes: 11 additions & 0 deletions LICENSE_HEADER
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* **************************************************************************************
* Copyright (c) $YEAR Calypso Networks Association https://calypsonet.org/
*
* See the NOTICE file(s) distributed with this work for additional information
* regarding copyright ownership.
*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
************************************************************************************** */
18 changes: 0 additions & 18 deletions PUBLISHERS.yml

This file was deleted.

7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ Examples of implementation are available in the following repository: [github.co

## About the source code

The code is built with **Gradle** and is compliant with **Java 1.8** in order to address a wide range of applications.
The code is built with **Gradle** and is compliant with **Java 1.8** in order to address a wide range of applications.

## Continuous Integration

This project uses **GitHub Actions** for continuous integration. Every push and pull request triggers automated builds
and checks to ensure code quality and maintain compatibility with the defined specifications.
62 changes: 4 additions & 58 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,69 +1,15 @@
///////////////////////////////////////////////////////////////////////////////
// GRADLE CONFIGURATION
///////////////////////////////////////////////////////////////////////////////

plugins {
id("com.diffplug.spotless") version "6.25.0"
id("org.sonarqube") version "3.1"
id("org.jetbrains.dokka") version "1.7.10"
id("com.diffplug.spotless") version "7.0.4"
id("org.jetbrains.dokka") version "1.9.20"
}
buildscript {
val kotlinVersion: String by project
repositories {
mavenLocal()
mavenCentral()
google()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
classpath("com.android.tools.build:gradle:7.4.2")
classpath ("javax.xml.bind:jaxb-api:2.3.1")
classpath ("com.sun.xml.bind:jaxb-impl:2.3.9")
classpath("org.eclipse.keyple:keyple-gradle:0.2.+") { isChanging = true }
}
}

///////////////////////////////////////////////////////////////////////////////
// APP CONFIGURATION
///////////////////////////////////////////////////////////////////////////////
allprojects {
group = "org.eclipse.keyple"
repositories {
mavenLocal()
mavenCentral()
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
google()
}
}

///////////////////////////////////////////////////////////////////////////////
// TASKS CONFIGURATION
///////////////////////////////////////////////////////////////////////////////
tasks {
spotless {
kotlin {
target("**/*.kt")
ktfmt()
licenseHeaderFile("${project.rootDir}/LICENSE_HEADER")
}
java {
target("plugin/src/**/*.java")
licenseHeaderFile("${project.rootDir}/LICENSE_HEADER")
importOrder("java", "javax", "org", "com", "")
removeUnusedImports()
googleJavaFormat()
}
}
sonarqube {
properties {
property("sonar.projectKey", "eclipse_" + project.name)
property("sonar.organization", "eclipse")
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.login", System.getenv("SONAR_LOGIN"))
System.getenv("BRANCH_NAME")?.let {
if (it != "main") {
property("sonar.branch.name", it)
}
}
}
}
}
Loading