#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright 2006-2025 Andres Almiray
#
# 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.
#

project:
  name: json-lib
  description: Java library for transforming beans, maps, collections, arrays and XML to JSON.
  links:
    homepage: https://github.com/kordamp/json-lib
  authors:
    - Andres Almiray
  license: Apache-2.0
  inceptionYear: 2006
  stereotype: NONE
  vendor: Kordamp
  java:
    groupId: org.kordamp.json
    version: 8
  tags:
    - 'json'
    - 'xml'

release:
  github:
    branch: master
    overwrite: true
    milestone:
      name: '{{projectVersion}}'
    issues:
      enabled: true
    changelog:
      formatted: ALWAYS
      preset: conventional-commits
      format: '- {{commitShortHash}} {{commitTitle}}'
      contributors:
        format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}'
      labelers:
        - label: 'dependencies'
          title: 'regex:^(?:deps(?:\(.*\))?!?):\s.*'
          order: 120
      categories:
        - title: '⚙️  Dependencies'
          key: 'dependencies'
          order: 70
          labels:
            - 'dependencies'
      hide:
        categories:
          - 'merge'
        contributors:
          - 'GitHub'
      replacers:
        - search: 'deps: '

signing:
  active: ALWAYS
  armored: true

deploy:
  maven:
    mavenCentral:
      release-deploy:
        active: RELEASE
        url: https://central.sonatype.com/api/v1/publisher
        stagingRepositories:
          - build/repos/local/release

announce:
  mastodon:
    active: RELEASE
    host: https://mastodon.social
