From 34ba255e72d89326c4be3a29fc992037f01b8b81 Mon Sep 17 00:00:00 2001 From: ghidra1 Date: Tue, 30 Jul 2024 16:09:30 -0400 Subject: [PATCH] GP-0 add assemblePyPackage task dependency to buildPyPackage --- gradle/hasPythonPackage.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gradle/hasPythonPackage.gradle b/gradle/hasPythonPackage.gradle index 2d83cf0cd3..67bb1f8ea8 100644 --- a/gradle/hasPythonPackage.gradle +++ b/gradle/hasPythonPackage.gradle @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -37,6 +37,7 @@ task assemblePyPackage(type: Copy) { } task buildPyPackage { + dependsOn assemblePyPackage ext.dist = { file("build/pypkg/dist") } inputs.files(assemblePyPackage) outputs.dir(dist)