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

Re-org before joining repositories again #345

Merged
merged 1 commit into from
Feb 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions arrow-annotations/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ plugins {

apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"
apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
api "io.kindedj:kindedj:$KINDEDJ_VERSION"
Expand Down
2 changes: 2 additions & 0 deletions arrow-continuations/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ plugins {

apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"
apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"
apply plugin: 'kotlinx-atomicfu'

dependencies {
Expand Down
2 changes: 2 additions & 0 deletions arrow-core-data/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ apply plugin: 'kotlinx-atomicfu'

apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"
apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
api project(":arrow-annotations")
Expand Down
2 changes: 2 additions & 0 deletions arrow-core-retrofit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ plugins {

apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"
apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
compileOnly project(":arrow-core-data")
Expand Down
2 changes: 2 additions & 0 deletions arrow-core-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ plugins {
}

apply from: "$SUB_PROJECT"
apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
api project(":arrow-core")
Expand Down
2 changes: 2 additions & 0 deletions arrow-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ plugins {

apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"
apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
api project(":arrow-core-data")
Expand Down
1 change: 1 addition & 0 deletions arrow-meta/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {

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

dependencies {
api project(':arrow-annotations')
Expand Down
2 changes: 2 additions & 0 deletions arrow-syntax/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ plugins {

apply from: "$SUB_PROJECT"
apply from: "$DOC_CREATION"
apply from: "$PUBLICATION"
apply from: "$ANIMALSNIFFER"

dependencies {
api project(":arrow-core")
Expand Down
30 changes: 0 additions & 30 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,3 @@ plugins {
}

apply from: "$ROOT_PROJECT"

// Override ktlint version because prev version does not support fun-interfaces
ktlint {
// TODO: update KTLINT_VERSION=0.34.2 in common gradle.properties
version = "0.39.0"
}

// -- Artifacts publication
configure(subprojects
- project("arrow-meta:arrow-meta-test-models")
) {
apply from: "$PUBLICATION"
}

// -- Gradle Animal Sniffer Plugin: https://github.com/xvik/gradle-animalsniffer-plugin
configure(subprojects
- project("arrow-meta")
) {
apply plugin: 'ru.vyarus.animalsniffer'
apply plugin: 'java'

animalsniffer { // Ingore tests
sourceSets = [sourceSets.main]
ignore 'java.lang.*'
}
dependencies {
compileOnly "org.codehaus.mojo:animal-sniffer-annotations:1.19"
signature 'net.sf.androidscents.signature:android-api-level-21:5.0.1_r2@signature'
}
}
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ SUB_PROJECT=https://raw.githubusercontent.com/arrow-kt/arrow/master/gradle/subpr
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
ANIMALSNIFFER=https://raw.githubusercontent.com/arrow-kt/arrow/master/gradle/animalsniffer.gradle
# Gradle options
org.gradle.jvmargs=-Xmx4g
org.gradle.parallel=true
Expand Down