代码拉取完成,页面将自动刷新
同步操作将从 kailing/ratelimiter-spring-boot-starter 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
apply plugin: 'maven-publish'
apply plugin: 'signing'
ext {
isReleasedVersion = !project.version.endsWith("-SNAPSHOT")
}
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
archiveClassifier.set('sources')
}
task javadocJar(type: Jar) {
from javadoc
archiveClassifier.set('javadoc')
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
artifact javadocJar
pom {
name = 'ratelimiter-spring-boot-starter'
description = '开箱即用的分布式限流器'
url = 'https://github.com/TapTap/ratelimiter-spring-boot-starter'
developers {
developer {
id = 'kl'
name = 'kl'
url = 'http://www.kailing.pub'
email = 'g632104866@gmail.com'
}
}
scm {
connection = 'scm:git:https://github.com/TapTap/ratelimiter-spring-boot-starter.git'
developerConnection = 'scm:git:https://github.com/TapTap/ratelimiter-spring-boot-starter.git'
url = 'https://github.com/TapTap/ratelimiter-spring-boot-starter'
}
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
}
versionMapping {
usage('java-api') {
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
}
}
}
}
repositories {
maven {
name = "OSSRH"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
if (isReleasedVersion) {
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
} else {
url "https://s01.oss.sonatype.org/content/repositories/snapshots/"
}
}
}
}
signing {
sign publishing.publications.mavenJava
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。