Skip to content

Commit 6e0d975

Browse files
committed
Updated Gradle (through new wrapper task) and some dependencies including Kotlin. Tweaked some gradle files to change were kapt plugin is applied to make it possible to use them with latest stable Kotlin version.
1 parent 939e6b7 commit 6e0d975

File tree

38 files changed

+81
-50
lines changed

38 files changed

+81
-50
lines changed

build.gradle

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@
1717
buildscript {
1818
ext {
1919
// Constants
20-
gradleVersion = '4.10'
20+
daggerVersion = '2.21'
21+
detekt_version = '1.0.0-RC12'
22+
dokka_version = '0.9.17'
2123
gradleVersionsPluginVersion = '0.20.0'
22-
javaVersion = JavaVersion.VERSION_1_7
2324
jUnitVersion = '4.12'
24-
jUnitVintageVersion = '5.2.0'
25+
jUnitVintageVersion = '5.4.0'
26+
javaVersion = JavaVersion.VERSION_1_7
27+
kotlinPoetVersion = '1.0.0-RC1'
2528
kotlinTestVersion = '3.1.5'
26-
kotlinVersion = '1.3.11'
27-
daggerVersion = '2.17'
28-
kotlinxCoroutinesVersion = '1.1.0'
29+
kotlinVersion = '1.3.21'
2930
kotlinxCollectionsImmutableVersion = '0.1'
30-
kotlinPoetVersion = '1.0.0-RC1'
31-
projectReactorVersion = '3.1.8.RELEASE'
32-
rxJavaVersion = '2.2.1'
33-
dokka_version = '0.9.17'
34-
detekt_version = '1.0.0-RC12'
31+
kotlinxCoroutinesVersion = '1.1.1'
32+
projectReactorVersion = '3.2.6.RELEASE'
33+
retrofitVersion = '2.5.0'
34+
rxJavaVersion = '2.2.7'
3535
}
3636

3737
repositories {
@@ -212,6 +212,11 @@ tasks.create('repl') {
212212
}
213213
}
214214

215+
tasks.wrapper {
216+
gradleVersion = "5.2.1"
217+
distributionType = Wrapper.DistributionType.ALL
218+
}
219+
215220
apply plugin: 'com.github.ben-manes.versions'
216221

217222
configurations.all {

gradle/wrapper/gradle-wrapper.jar

-982 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/ank/arrow-ank/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: 'kotlin'
2+
apply plugin: 'kotlin-kapt'
23

34
dependencies {
45
compile project(":arrow-core-extensions")
@@ -11,4 +12,3 @@ dependencies {
1112
}
1213

1314
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
14-
apply plugin: 'kotlin-kapt'

modules/aql/arrow-query-language/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apply plugin: 'kotlin-kapt'
2+
13
dependencies {
24
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
35
compile project(':arrow-annotations')
@@ -13,4 +15,3 @@ dependencies {
1315
}
1416

1517
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
16-
apply plugin: 'kotlin-kapt'

modules/core/arrow-core-data/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apply plugin: 'kotlin-kapt'
2+
13
dependencies {
24
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
35
compile project(':arrow-annotations')
@@ -13,4 +15,3 @@ dependencies {
1315
}
1416

1517
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
16-
apply plugin: 'kotlin-kapt'

modules/core/arrow-core-extensions/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apply plugin: 'kotlin-kapt'
2+
13
dependencies {
24
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
35
compile project(':arrow-annotations')
@@ -13,4 +15,3 @@ dependencies {
1315
}
1416

1517
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
16-
apply plugin: 'kotlin-kapt'

modules/core/arrow-extras-data/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apply plugin: 'kotlin-kapt'
2+
13
dependencies {
24
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
35
compile project(':arrow-annotations')
@@ -16,4 +18,3 @@ dependencies {
1618
}
1719

1820
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
19-
apply plugin: 'kotlin-kapt'

0 commit comments

Comments
 (0)