Add initial grpc generation, and add to gradle build
This commit is contained in:
16
SwiftyCar/build.gradle
Normal file
16
SwiftyCar/build.gradle
Normal file
@@ -0,0 +1,16 @@
|
||||
configurations{
|
||||
swift {
|
||||
canBeConsumed = false
|
||||
canBeResolved = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
swift project(path: ':protobuf', configuration: 'swift')
|
||||
}
|
||||
|
||||
task copySwiftCode(type: Copy, dependsOn: configurations.swift) {
|
||||
// Copy python protobuf code from proto project.
|
||||
from zipTree(configurations.swift.asPath)
|
||||
into './Sources/Generated'
|
||||
}
|
||||
Reference in New Issue
Block a user