forked from square/wire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
31 lines (29 loc) · 1.79 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include ':sample'
include ':wire-codegen-sample'
include ':wire-grpc-sample:client'
include ':wire-grpc-sample:protos'
include ':wire-grpc-sample:server'
include ':wire-grpc-tests'
include ':wire-protoc-compatibility-tests'
includeBuild('wire-library') {
// Declaring dependency substitutions explicitly ensures that references to types declared inside
// wire-library are resolved properly by the IDE. It's unclear to me why this is the case: it
// might be either a known composite builds limitation (as described in
// https://docs.gradle.org/current/userguide/composite_builds.html), or a known or unknown Kotlin
// Gradle plugin bug.
//
// TODO(egor): Find out what the underlying issue is and what is the best fix/workaround.
dependencySubstitution {
substitute module('com.squareup.wire:wire-compiler') with project(':wire-compiler')
substitute module('com.squareup.wire:wire-gradle-plugin') with project(':wire-gradle-plugin')
substitute module('com.squareup.wire:wire-grpc-client') with project(':wire-grpc-client')
substitute module('com.squareup.wire:wire-grpc-mockwebserver') with project(':wire-grpc-mockwebserver')
substitute module('com.squareup.wire:wire-gson-support') with project(':wire-gson-support')
substitute module('com.squareup.wire:wire-java-generator') with project(':wire-java-generator')
substitute module('com.squareup.wire:wire-kotlin-generator') with project(':wire-kotlin-generator')
substitute module('com.squareup.wire:wire-moshi-adapter') with project(':wire-moshi-adapter')
substitute module('com.squareup.wire:wire-runtime') with project(':wire-runtime')
substitute module('com.squareup.wire:wire-schema') with project(':wire-schema')
substitute module('com.squareup.wire:wire-test-utils') with project(':wire-test-utils')
}
}