代码拉取完成,页面将自动刷新
同步操作将从 kailing/pinyin-plus 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
plugins {
id 'java'
}
apply plugin: 'maven'
apply plugin: 'signing'
group 'com.github.taptap'
version '1.0'
logger.lifecycle('Build version: {}', version)
repositories {
mavenCentral()
}
dependencies {
compile ('com.github.houbb:segment:0.1.8'){
exclude(module:'segment-data-pos-core')
exclude(module:'segment-data-phrase-core')
}
compile('com.github.houbb:segment-data-phrase-api:0.0.1')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testImplementation 'io.undertow:undertow-core:2.1.0.Final'
}
test {
useJUnitPlatform()
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives javadocJar, sourcesJar
}
signing {
sign configurations.archives
}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://s01.oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
pom.project {
name 'pinyin-plus'
packaging 'jar'
// optionally artifactId can be defined here
description '汉字转拼音'
url 'https://github.com/TapTap/pinyin-plus'
scm {
connection 'scm:git:https://github.com/TapTap/pinyin-plus.git'
developerConnection 'scm:git:https://github.com/TapTap/pinyin-plus.git'
url 'https://github.com/TapTap/pinyin-plus'
}
licenses {
license {
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'kl'
url = 'http://www.kailing.pub'
email = 'g632104866@gmail.com'
}
}
}
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。