代码拉取完成,页面将自动刷新
同步操作将从 takemefly/golddata-spider 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
* Copyright 2016-2019 新商态(北京)科技有限公司
*
* 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.
*/
plugins {
id 'io.codearte.nexus-staging' version '0.11.0'
}
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group='com.100shouhou.golddata'
archivesBaseName = "golddata-spider"
version '1.1.3'
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public'
}
mavenCentral()
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourceJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allGroovy
from sourceSets.main.allJava
}
artifacts {
archives javadocJar, sourceJar
}
signing {
sign configurations.archives
}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
pom.project {
name 'GoldDataSpider'
packaging 'jar'
// optionally artifactId can be defined here
description 'Gold Data Spider for fetching pages and extracting data.'
url 'https://golddata.100shouhou.com/front/docs'
scm {
connection 'scm:git:git://github.com/TheGoldData/GoldDataSpider.git'
developerConnection 'scm:git:git@github.com:TheGoldData/GoldDataSpider.git'
url 'scm:git:https://github.com/TheGoldData/GoldDataSpider'
}
licenses {
license {
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id 'wdg100'
name 'wdaogang'
email 'wdg@100shouhou.com'
}
}
}
}
}
}
dependencies {
// https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'com.ibm.icu', name: 'icu4j', version: '61.1'
compile 'org.slf4j:slf4j-api:1.7.25'
// compile 'org.codehaus.groovy:groovy-all:2.3.11'
compile 'org.codehaus.groovy:groovy-all:2.4.11'
// compile('org.codehaus.groovy.modules.http-builder:http-builder:0.7.1') {
// exclude(group: 'org.codehaus.groovy', module: 'groovy')
// }
compile 'io.github.http-builder-ng:http-builder-ng-apache:1.0.3'
compile group: 'org.jsoup', name: 'jsoup', version: '1.11.3'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
// https://mvnrepository.com/artifact/org.apache.commons/commons-text
compile group: 'org.apache.commons', name: 'commons-text', version: '1.3'
compile group: 'org.apache.commons', name: 'commons-compress', version: '1.16.1'
// https://mvnrepository.com/artifact/com.google.guava/guava
compile group: 'com.google.guava', name: 'guava', version: '24.1-jre'
testCompile group: 'junit', name: 'junit', version: '4.11'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.7'
compile 'org.hjson:hjson:1.0.0'
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。