2022-10-20 10:19:32 +02:00
|
|
|
|
|
|
|
plugins {
|
2023-04-05 21:55:24 +02:00
|
|
|
id 'maven-publish'
|
|
|
|
id 'signing'
|
2023-10-01 08:51:00 +02:00
|
|
|
id "io.github.gradle-nexus.publish-plugin" version "2.0.0-rc-1"
|
2022-10-20 10:19:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
wrapper {
|
|
|
|
gradleVersion = libs.versions.gradle.get()
|
2024-01-19 10:58:46 +01:00
|
|
|
distributionType = Wrapper.DistributionType.BIN
|
2022-10-20 10:19:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
2023-05-26 19:27:55 +02:00
|
|
|
user = 'joerg'
|
|
|
|
name = 'net-http'
|
|
|
|
description = 'HTTP classes for Java'
|
2022-10-20 10:19:32 +02:00
|
|
|
inceptionYear = '2016'
|
2023-05-26 19:27:55 +02:00
|
|
|
url = 'https://xbib.org/' + user + '/' + name
|
|
|
|
scmUrl = 'https://xbib.org/' + user + '/' + name
|
|
|
|
scmConnection = 'scm:git:git://xbib.org/' + user + '/' + name + '.git'
|
|
|
|
scmDeveloperConnection = 'scm:git:ssh://forgejo@xbib.org:' + user + '/' + name + '.git'
|
2022-10-20 10:19:32 +02:00
|
|
|
issueManagementSystem = 'Github'
|
|
|
|
issueManagementUrl = ext.scmUrl + '/issues'
|
|
|
|
licenseName = 'The Apache License, Version 2.0'
|
|
|
|
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
|
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
|
|
|
apply from: rootProject.file('gradle/publish/maven.gradle')
|
|
|
|
}
|
|
|
|
apply from: rootProject.file('gradle/publish/sonatype.gradle')
|
2023-05-26 19:27:55 +02:00
|
|
|
apply from: rootProject.file('gradle/publish/forgejo.gradle')
|