Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arrow-kt/arrow-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 102153887f76eefd7f948917a997aea1b26d418c
Choose a base ref
...
head repository: arrow-kt/arrow-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 520a746c1d10beb24018ea1325e9e3a809fcca24
Choose a head ref
  • 1 commit
  • 17 files changed
  • 1 contributor

Commits on Aug 24, 2020

  1. Copy the full SHA
    520a746 View commit details
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -3,4 +3,4 @@
indent_size=2
insert_final_newline=true
max_line_length=off
disabled_rules=import-ordering,no-unit-return
disabled_rules=import-ordering,no-unit-return,curly-spacing
8 changes: 6 additions & 2 deletions .github/workflows/build_arrow-core.yml
Original file line number Diff line number Diff line change
@@ -18,9 +18,13 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Checkout orchestrator
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git --depth 1 --no-single-branch
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
git clone https://github.com/arrow-kt/arrow.git $BASEDIR/arrow --depth 1 --no-single-branch
. $BASEDIR/arrow/scripts/commons4gradle.sh
updateOrchestrator $BRANCH_NAME
- name: Install
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 6 additions & 2 deletions .github/workflows/build_doc_arrow-core.yml
Original file line number Diff line number Diff line change
@@ -16,9 +16,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Checkout orchestrator
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git --depth 1 --no-single-branch
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
git clone https://github.com/arrow-kt/arrow.git $BASEDIR/arrow --depth 1 --no-single-branch
. $BASEDIR/arrow/scripts/commons4gradle.sh
updateOrchestrator $BRANCH_NAME
- name: Install
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 6 additions & 2 deletions .github/workflows/check_previous_build_integration.yml
Original file line number Diff line number Diff line change
@@ -15,9 +15,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Checkout orchestrator
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git --depth 1 --no-single-branch
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
git clone https://github.com/arrow-kt/arrow.git $BASEDIR/arrow --depth 1 --no-single-branch
. $BASEDIR/arrow/scripts/commons4gradle.sh
updateOrchestrator $BRANCH_NAME
- name: Check Build Integration
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 6 additions & 2 deletions .github/workflows/check_previous_doc_integration.yml
Original file line number Diff line number Diff line change
@@ -15,9 +15,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Checkout orchestrator
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git --depth 1 --no-single-branch
BRANCH_NAME=${{ github.event.pull_request.head.ref }}
git clone https://github.com/arrow-kt/arrow.git $BASEDIR/arrow --depth 1 --no-single-branch
. $BASEDIR/arrow/scripts/commons4gradle.sh
updateOrchestrator $BRANCH_NAME
- name: Check Doc Integration
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 2 additions & 7 deletions arrow-annotations/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
plugins {
id "maven-publish"
id "base"
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.dokka"
id "org.jlleitschuh.gradle.ktlint"
id "ru.vyarus.animalsniffer"
}

apply from: "$SUBPROJECT_CONF"
apply from: "$DOC_CONF"
apply from: "$PUBLISH_CONF"
apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
10 changes: 3 additions & 7 deletions arrow-core-data/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
plugins {
id "maven-publish"
id "base"
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.kotlin.kapt"
id "org.jetbrains.dokka"
id "org.jlleitschuh.gradle.ktlint"
id "ru.vyarus.animalsniffer"
}

apply from: "$SUBPROJECT_CONF"
apply from: "$DOC_CONF"
apply from: "$PUBLISH_CONF"
apply plugin: 'kotlinx-atomicfu'

apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION"
compile project(":arrow-annotations")
9 changes: 2 additions & 7 deletions arrow-core-retrofit/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
plugins {
id "maven-publish"
id "base"
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.dokka"
id "org.jlleitschuh.gradle.ktlint"
id "ru.vyarus.animalsniffer"
}

apply from: "$SUBPROJECT_CONF"
apply from: "$DOC_CONF"
apply from: "$PUBLISH_CONF"
apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"

dependencies {
compile project(":arrow-core-data")
6 changes: 1 addition & 5 deletions arrow-core-test/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
plugins {
id "maven-publish"
id "base"
id "org.jetbrains.kotlin.jvm"
id "org.jlleitschuh.gradle.ktlint"
id "ru.vyarus.animalsniffer"
}

apply from: "$SUBPROJECT_CONF"
apply from: "$PUBLISH_CONF"
apply from: "$SUB_PROJECT"

dependencies {
compile project(":arrow-core")
9 changes: 2 additions & 7 deletions arrow-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
plugins {
id "maven-publish"
id "base"
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.kotlin.kapt"
id "org.jetbrains.dokka"
id "org.jlleitschuh.gradle.ktlint"
id "ru.vyarus.animalsniffer"
}

apply from: "$SUBPROJECT_CONF"
apply from: "$DOC_CONF"
apply from: "$PUBLISH_CONF"
apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION"
13 changes: 2 additions & 11 deletions arrow-docs/build.gradle
Original file line number Diff line number Diff line change
@@ -8,14 +8,13 @@ buildscript {
}

plugins {
id "base"
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.kotlin.kapt"
id "org.jlleitschuh.gradle.ktlint"
id "ru.vyarus.animalsniffer"
}

apply from: "$SUBPROJECT_CONF"
apply from: "$SUB_PROJECT"
apply from: "$DOC_VALIDATION"

dependencies {
compile project(":arrow-core-data")
@@ -28,11 +27,3 @@ dependencies {
compile project(":arrow-meta")
kapt project(":arrow-meta")
}

apply plugin: 'ank-gradle-plugin'

ank {
source = file("${projectDir}/docs")
target = file("${projectDir}/build/site")
classpath = sourceSets.main.runtimeClasspath
}
4 changes: 1 addition & 3 deletions arrow-meta/arrow-meta-test-models/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
plugins {
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.kotlin.kapt"
id "org.jetbrains.dokka"
id "org.jlleitschuh.gradle.ktlint"
id "ru.vyarus.animalsniffer"
}

apply from: "$DOC_CONF"
apply from: "$DOC_CREATION"

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
8 changes: 2 additions & 6 deletions arrow-meta/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
import org.gradle.internal.jvm.Jvm

plugins {
id "maven-publish"
id "base"
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.kotlin.kapt"
id "org.jetbrains.dokka"
id "org.jlleitschuh.gradle.ktlint"
}

apply from: "$SUBPROJECT_CONF"
apply from: "$DOC_CONF"
apply from: "$PUBLISH_CONF"
apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION"
9 changes: 2 additions & 7 deletions arrow-syntax/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
plugins {
id "maven-publish"
id "base"
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.dokka"
id "org.jlleitschuh.gradle.ktlint"
id "ru.vyarus.animalsniffer"
}

apply from: "$SUBPROJECT_CONF"
apply from: "$DOC_CONF"
apply from: "$PUBLISH_CONF"
apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION"
24 changes: 14 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -2,28 +2,32 @@ buildscript {
apply from: "$COMMON_SETUP"
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:$ATOMICFU_VERSION"
}
}

plugins {
id "maven-publish"
id "base"
id "org.jetbrains.kotlin.jvm" version "$KOTLIN_VERSION"
id "org.jetbrains.kotlin.kapt" version "$KOTLIN_VERSION"
id "org.jetbrains.dokka" version "$DOKKA_VERSION" apply false
id "org.jetbrains.kotlin.kapt" version "$KOTLIN_VERSION" apply false
id "org.jlleitschuh.gradle.ktlint" version "$KTLINT_GRADLE_VERSION"
id "ru.vyarus.animalsniffer" version "$ANIMALS_SNIFFER_VERSION"
id "org.jetbrains.dokka" version "$DOKKA_VERSION" apply false
id "ru.vyarus.animalsniffer" version "$ANIMALS_SNIFFER_VERSION" apply false
}

apply from: "$GENERIC_CONF"
apply from: "$ROOT_PROJECT"

// -- Artifacts publication
subprojects {
apply from: "$PUBLICATION"
}

configure(subprojects - project("arrow-meta")) {
// -- Gradle Animal Sniffer Plugin: https://github.com/xvik/gradle-animalsniffer-plugin
configure(subprojects
- project("arrow-meta")
) {
apply plugin: 'ru.vyarus.animalsniffer'
apply plugin: 'java'
dependencies {
11 changes: 6 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Build properties
COMMON_SETUP=https://raw.githubusercontent.com/arrow-kt/arrow/master/setup.gradle
GENERIC_CONF=https://raw.githubusercontent.com/arrow-kt/arrow/master/generic-conf.gradle
SUBPROJECT_CONF=https://raw.githubusercontent.com/arrow-kt/arrow/master/subproject-conf.gradle
DOC_CONF=https://raw.githubusercontent.com/arrow-kt/arrow/master/doc-conf.gradle
PUBLISH_CONF=https://raw.githubusercontent.com/arrow-kt/arrow/master/publish-conf.gradle
COMMON_SETUP=https://raw.githubusercontent.com/arrow-kt/arrow/master/gradle/setup.gradle
ROOT_PROJECT=https://raw.githubusercontent.com/arrow-kt/arrow/master/gradle/main.gradle
SUB_PROJECT=https://raw.githubusercontent.com/arrow-kt/arrow/master/gradle/subproject.gradle
DOC_CREATION=https://raw.githubusercontent.com/arrow-kt/arrow/master/gradle/apidoc-creation.gradle
DOC_VALIDATION=https://raw.githubusercontent.com/arrow-kt/arrow/master/gradle/doc-validation.gradle
PUBLICATION=https://raw.githubusercontent.com/arrow-kt/arrow/master/gradle/publication.gradle
# Gradle options
org.gradle.jvmargs=-Xmx4g
org.gradle.parallel=true
6 changes: 1 addition & 5 deletions scripts/checkout-orchestrator.sh
Original file line number Diff line number Diff line change
@@ -5,9 +5,5 @@ cd ${ROOTDIR}/..
BASEDIR=$(pwd)
if [ ! -d arrow ]; then
echo "Clone arrow repository in $BASEDIR/arrow ..."
git clone https://github.com/arrow-kt/arrow.git
else
echo "Updating $INSTALLDIR/arrow ..."
cd arrow
git pull
git clone git@github.com:arrow-kt/arrow.git
fi