bump version

This commit is contained in:
czp3009 2020-04-09 16:57:35 +08:00
parent b4e482e78f
commit 21384dd926
4 changed files with 16 additions and 14 deletions

View File

@ -1,10 +1,10 @@
buildscript { buildscript {
ext { ext {
project_version = '0.2.0' project_version = '0.2.0'
kotlin_version = '1.3.41' kotlin_version = '1.3.71'
kotlin_coroutines_version = '1.2.2' kotlin_coroutines_version = '1.3.5'
ktor_version = '1.3.1'
jvm_target = JavaVersion.VERSION_1_8 jvm_target = JavaVersion.VERSION_1_8
ktor_version = '1.2.2'
} }
repositories { repositories {
@ -28,7 +28,6 @@ allprojects {
repositories { repositories {
mavenCentral() mavenCentral()
jcenter() jcenter()
maven { url = 'https://dl.bintray.com/kotlin/ktor/' }
mavenLocal() mavenLocal()
} }
} }
@ -59,15 +58,15 @@ subprojects {
//logging //logging
dependencies { dependencies {
// https://mvnrepository.com/artifact/io.github.microutils/kotlin-logging // https://mvnrepository.com/artifact/io.github.microutils/kotlin-logging
api group: 'io.github.microutils', name: 'kotlin-logging', version: '1.6.26' api group: 'io.github.microutils', name: 'kotlin-logging', version: '1.7.9'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple // https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
testApi group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.26' testApi group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.30'
} }
//unit test //unit test
dependencies { dependencies {
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter // https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter
testApi group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.4.2' testApi group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.6.1'
} }
task sourcesJar(type: Jar) { task sourcesJar(type: Jar) {
@ -134,6 +133,10 @@ subprojects {
signing { signing {
sign publishing.publications.mavenJava sign publishing.publications.mavenJava
} }
gradle.taskGraph.whenReady { taskGraph ->
tasks.signMavenJavaPublication.onlyIf { taskGraph.hasTask tasks.publish }
}
} }
dependencies { dependencies {

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip

View File

@ -1,7 +1,7 @@
//http //http
dependencies { dependencies {
// https://mvnrepository.com/artifact/com.hiczp/caeruleum // https://mvnrepository.com/artifact/com.hiczp/caeruleum
api group: 'com.hiczp', name: 'caeruleum', version: '1.2.2' api group: 'com.hiczp', name: 'caeruleum', version: '1.2.9'
} }
//ktor //ktor
@ -15,7 +15,7 @@ dependencies {
//json //json
dependencies { dependencies {
// https://mvnrepository.com/artifact/com.google.code.gson/gson // https://mvnrepository.com/artifact/com.google.code.gson/gson
api group: 'com.google.code.gson', name: 'gson', version: '2.8.5' api group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
// https://mvnrepository.com/artifact/com.github.salomonbrys.kotson/kotson // https://mvnrepository.com/artifact/com.github.salomonbrys.kotson/kotson
api group: 'com.github.salomonbrys.kotson', name: 'kotson', version: '2.5.0' api group: 'com.github.salomonbrys.kotson', name: 'kotson', version: '2.5.0'
} }

View File

@ -1,8 +1,7 @@
//ktor //ktor
dependencies { dependencies {
// https://mvnrepository.com/artifact/io.ktor/ktor-client-websocket // https://mvnrepository.com/artifact/io.ktor/ktor-client-websockets
//api group: 'io.ktor', name: 'ktor-client-websocket', version: ktor_version api group: 'io.ktor', name: 'ktor-client-websockets', version: ktor_version
api group: 'io.ktor', name: 'ktor-client-websocket', version: '1.2.0-alpha-2'
// https://mvnrepository.com/artifact/io.ktor/ktor-client-cio // https://mvnrepository.com/artifact/io.ktor/ktor-client-cio
api group: 'io.ktor', name: 'ktor-client-cio', version: ktor_version api group: 'io.ktor', name: 'ktor-client-cio', version: ktor_version
} }
@ -10,7 +9,7 @@ dependencies {
//json //json
dependencies { dependencies {
// https://mvnrepository.com/artifact/com.google.code.gson/gson // https://mvnrepository.com/artifact/com.google.code.gson/gson
api group: 'com.google.code.gson', name: 'gson', version: '2.8.5' api group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
// https://mvnrepository.com/artifact/com.github.salomonbrys.kotson/kotson // https://mvnrepository.com/artifact/com.github.salomonbrys.kotson/kotson
api group: 'com.github.salomonbrys.kotson', name: 'kotson', version: '2.5.0' api group: 'com.github.salomonbrys.kotson', name: 'kotson', version: '2.5.0'
} }