1
1
buildscript {
2
- ext. kotlin_version = ' 1.2.51 '
3
- repositories {
4
- maven { url " http://dl.bintray.com/kotlin/kotlin-dev " }
5
- mavenCentral()
6
- jcenter()
7
- }
8
- dependencies {
9
- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
10
- classpath " com.github.shyiko:ktlint:0.24 .0"
11
- }
2
+ ext. kotlin_version = ' 1.3-M1 '
3
+ repositories {
4
+ maven { url " http://dl.bintray.com/kotlin/kotlin-eap " }
5
+ mavenCentral()
6
+ jcenter()
7
+ }
8
+ dependencies {
9
+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
10
+ classpath " com.github.shyiko:ktlint:0.27 .0"
11
+ }
12
12
}
13
13
14
14
plugins {
15
- id " com.gradle.build-scan" version " 1.15.1 "
16
- id ' com.github.ben-manes.versions' version ' 0.20.0'
17
- id ' net.nemerosa.versioning' version ' 2.7.1'
18
- id ' io.codearte.nexus-staging' version ' 0.11.0'
19
- id " org.jlleitschuh.gradle.ktlint " version " 3.3.0 "
15
+ id " com.gradle.build-scan" version " 1.15.2 "
16
+ id ' com.github.ben-manes.versions' version ' 0.20.0'
17
+ id ' net.nemerosa.versioning' version ' 2.7.1'
18
+ id ' io.codearte.nexus-staging' version ' 0.11.0'
19
+ id ' org.jmailen.kotlinter ' version ' 1.16.0 '
20
20
}
21
21
22
22
buildScan { licenseAgreementUrl = ' https://gradle.com/terms-of-service' ; licenseAgree = ' yes' }
@@ -84,19 +84,20 @@ repositories {
84
84
maven { url ' https://dl.bintray.com/reactivesocket/RSocket' }
85
85
maven { url " https://oss.sonatype.org/content/repositories/releases" }
86
86
maven { url " https://jitpack.io" }
87
+ maven { url " http://dl.bintray.com/kotlin/kotlin-eap" }
87
88
mavenCentral()
88
89
jcenter()
89
90
}
90
91
91
92
dependencies {
92
93
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8:${ kotlin_version} "
93
- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:0.23.4 '
94
- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-reactor:0.23.4 '
94
+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:0.24.0-eap13 '
95
+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-reactor:0.24.0-eap13 '
95
96
96
97
// implementation 'io.projectreactor:reactor-core:Bismuth-SR10'
97
- implementation ' io.rsocket:rsocket-transport-netty:0.11.3 '
98
- implementation ' io.rsocket:rsocket-transport-local:0.11.3 '
99
- implementation ' io.rsocket:rsocket-core:0.11.3 '
98
+ implementation ' io.rsocket:rsocket-transport-netty:0.11.5 '
99
+ implementation ' io.rsocket:rsocket-transport-local:0.11.5 '
100
+ implementation ' io.rsocket:rsocket-core:0.11.5 '
100
101
// implementation 'io.netty:netty-buffer:4.1.27.Final'
101
102
// implementation 'io.netty:netty-codec:4.1.27.Final'
102
103
// implementation 'io.netty:netty-codec-http:4.1.27.Final'
@@ -118,7 +119,7 @@ dependencies {
118
119
implementation ' org.mortbay.jetty.alpn:alpn-boot:8.1.12.v20180117'
119
120
implementation ' com.spotify:completable-futures:0.3.2'
120
121
121
- implementation ' com.baulsupp:oksocial-output:4.9 .0'
122
+ implementation ' com.baulsupp:oksocial-output:4.15 .0'
122
123
123
124
implementation ' org.slf4j:slf4j-jdk14:1.8.0-beta2'
124
125
@@ -145,24 +146,24 @@ test {
145
146
}
146
147
147
148
dependencyUpdates. resolutionStrategy = {
148
- componentSelection { rules ->
149
- rules. all { ComponentSelection selection ->
150
- boolean rejected = (selection. candidate. group == " io.netty" && selection. candidate. version ==~ / 5\. .*/ ) ||
151
- (selection. candidate. version ==~ / .*(beta.*|M\d |alpha.*)/ )
152
- if (rejected) {
153
- selection. reject(' Release candidate' )
154
- }
155
- }
149
+ componentSelection { rules ->
150
+ rules. all { ComponentSelection selection ->
151
+ boolean rejected = (selection. candidate. group == " io.netty" && selection. candidate. version ==~ / 5\. .*/ ) ||
152
+ (selection. candidate. version ==~ / .*(beta.*|M\d |alpha.*)/ )
153
+ if (rejected) {
154
+ selection. reject(' Release candidate' )
155
+ }
156
156
}
157
+ }
157
158
}
158
159
159
160
test {
160
- useJUnitPlatform {
161
- excludeTags ' slow'
162
- includeEngines ' junit-jupiter' , ' junit-vintage'
163
- }
161
+ useJUnitPlatform {
162
+ excludeTags ' slow'
163
+ includeEngines ' junit-jupiter' , ' junit-vintage'
164
+ }
164
165
165
- failFast = true
166
+ failFast = true
166
167
}
167
168
168
169
kotlin {
0 commit comments