diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..9f1b034 --- /dev/null +++ b/build.gradle @@ -0,0 +1,16 @@ +configurations { + python { + canBeResolved = true + canBeConsumed = false + } +} + +dependencies { + python project(path: ':protobuf', configuration: 'python') +} + +task copyPythonCode(type: Copy, dependsOn: configurations.python){ + // Copy python protobuf code from proto project. + from zipTree(configurations.python.asPath) + into '.' +} \ No newline at end of file