From 094a26a979c4daadcc27d00c7d34b3ae5d9384a7 Mon Sep 17 00:00:00 2001
From: dgelessus <dgelessus@users.noreply.github.com>
Date: Mon, 3 Jul 2023 18:28:17 +0200
Subject: [PATCH] Remove defaults for a few properties in tycho_build.gradle

---
 tycho_build.gradle | 37 -------------------------------------
 1 file changed, 37 deletions(-)

diff --git a/tycho_build.gradle b/tycho_build.gradle
index 8e66a6f3..381c3245 100644
--- a/tycho_build.gradle
+++ b/tycho_build.gradle
@@ -38,37 +38,6 @@ try {
 	project.ext.dependencyFolder = "lib/dependencies/" // Folder in each subproject where
 }
 
-try {
-	groupID = groupID
-} catch (MissingPropertyException e) {
-	// workspace nach releng durchsuchen
-	def folderNames = []
-	def folders = []
-	println "folders:"
-	new File(workspacePath+".").listFiles().each{dir ->
-		if (dir.isDirectory()) {
-			folders << dir.getName()
-		}
-	}
-
-	folders.each { it ->
-		it = (String)it.replaceFirst(/\.\//, "")
-		// subProjects eventuell unnötig settings.gradle datei stattdessen benutzen
-		if (!(it ==~ /\..+/ || it ==~ /.*.repository/ || it ==~ /.*.parent/)) {
-			folderNames << it
-		}
-	}
-
-	project.ext.groupID = "group"
-	for (int i = 0; i < folderNames.size(); i++) {
-		if (folderNames[i] ==~ /.*\.[rR]eleng/) {
-			groupID = folderNames[i]
-			groupID = groupID.replace(".releng", "")
-			groupID = groupID.replace(".Releng", "")
-		}
-	}
-}
-
 try {
 	features = features
 } catch (MissingPropertyException e) {
@@ -102,12 +71,6 @@ try {
 	// categoryDescriptions = [["feature": "labelName", "feature2": "label"], ["feature": "featureDescription", "feature2": "feature2Description"]] // label and descriptions of the features
 }
 
-try {
-	targetRepositories = targetRepositories
-} catch (MissingPropertyException e) {
-	project.ext.targetRepositories = ["https://download.eclipse.org/releases/luna/"]
-}
-
 try {
 	buildProduct = buildProduct
 } catch (MissingPropertyException e) {
-- 
GitLab