| 
									
										
										
										
											2024-12-19 11:02:37 -05:00
										 |  |  | plugins { | 
					
						
							|  |  |  |   id 'base' | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ext { | 
					
						
							|  |  |  |   python_executable = 'python3' | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | task checkPythonVersion(type: Exec) { | 
					
						
							|  |  |  |   commandLine python_executable, '-c', | 
					
						
							|  |  |  |     'import sys; sys.version_info >= (3, 8), f"Python version {sys.version_info} is too old"' | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | task buildWheels(type: Exec, dependsOn: [ | 
					
						
							|  |  |  |   checkPythonVersion, | 
					
						
							|  |  |  |   ':metadata-ingestion:buildWheel', | 
					
						
							| 
									
										
										
										
											2025-04-21 17:19:25 -04:00
										 |  |  |   ':datahub-actions:buildWheel', | 
					
						
							| 
									
										
										
										
											2024-12-19 11:02:37 -05:00
										 |  |  |   ':metadata-ingestion-modules:airflow-plugin:buildWheel', | 
					
						
							|  |  |  |   ':metadata-ingestion-modules:dagster-plugin:buildWheel', | 
					
						
							|  |  |  |   ':metadata-ingestion-modules:prefect-plugin:buildWheel', | 
					
						
							|  |  |  |   ':metadata-ingestion-modules:gx-plugin:buildWheel', | 
					
						
							|  |  |  | ]) { | 
					
						
							|  |  |  |   commandLine python_executable, "copy_wheels.py" | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | task buildSite(type: Exec, dependsOn: [buildWheels]) { | 
					
						
							|  |  |  |   commandLine python_executable, "build_site.py" | 
					
						
							|  |  |  | } |