代码拉取完成,页面将自动刷新
plugins {
id 'com.jfrog.artifactory' version '4.11.0' apply false
id 'com.jfrog.bintray' version '1.8.4' apply false
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'com.jfrog.bintray'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
if (version.endsWith('SNAPSHOT')) {
maven { url 'https://repo.spring.io/libs-snapshot' }
maven {
url 'https://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
mavenLocal()
}
dependencyManagement {
imports {
mavenBom "io.projectreactor:reactor-bom:${reactorBomVersion}"
mavenBom "org.junit:junit-bom:${junitJupiterVersion}"
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom "io.rsocket:rsocket-bom:${rsocketVersion}"
}
dependencies {
dependency "io.rsocket.routing:rsocket-routing-common:${rsocketRoutingClientVersion}"
dependency "io.rsocket.routing:rsocket-routing-frames:${rsocketRoutingClientVersion}"
dependency "org.agrona:agrona:${agronaVersion}"
dependency "org.assertj:assertj-core:${assertjVersion}"
dependency "org.roaringbitmap:RoaringBitmap:${roaringbitmapVersion}"
}
}
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
versionMapping {
usage('java-api') {
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
}
}
}
}
}
// from https://reflectoring.io/publish-snapshots-with-gradle/
artifactory {
contextUrl = 'https://oss.jfrog.org'
publish {
repository {
repoKey = 'oss-snapshot-local'
username = System.getenv('BINTRAY_USER')
password = System.getenv('BINTRAY_KEY')
}
defaults {
publications(publishing.publications.mavenJava)
publishArtifacts = true
publishPom = true
}
}
resolve {
repoKey = 'jcenter'
}
clientConfig.info.setBuildNumber(System.getProperty('build.number'))
}
test {
useJUnitPlatform()
}
}
wrapper {
distributionType = Wrapper.DistributionType.ALL
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。