aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2023-02-13 23:46:29 +0100
committerJulien Gouesse <[email protected]>2023-02-13 23:46:29 +0100
commitf19e9cc3cd7f0b039193763f3f1ca9c0028c67cc (patch)
treecb6fd0247eca90a2463229cd2e0488deddb4ff99
parent48a2a211c691392aeef78b8e677b728f43d0ff95 (diff)
Fixes Gradle clean target (now uses Gradle 8.0)
-rw-r--r--build.gradle8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index a3c6e42..5fada4c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -15,7 +15,7 @@ subprojects {
}
task packageSources(type: Jar) {
-classifier = 'sources'
+archiveClassifier = 'sources'
from sourceSets.main.allSource
}
@@ -36,13 +36,13 @@ artifacts.archives packageSources
// so we replace the dependency, using the osgi platform from the project settings
def os = System.getProperty("os.name").toLowerCase()
if (os.contains("windows")) {
- substitute module('org.eclipse.platform:org.eclipse.swt.${osgi.platform}') with module("org.eclipse.platform:org.eclipse.swt.win32.win32.x86_64:3.106.3")
+ substitute module('org.eclipse.platform:org.eclipse.swt.${osgi.platform}') using module("org.eclipse.platform:org.eclipse.swt.win32.win32.x86_64:3.106.3")
}
else if (os.contains("linux")) {
- substitute module('org.eclipse.platform:org.eclipse.swt.${osgi.platform}') with module("org.eclipse.platform:org.eclipse.swt.gtk.linux.x86_64:3.106.3")
+ substitute module('org.eclipse.platform:org.eclipse.swt.${osgi.platform}') using module("org.eclipse.platform:org.eclipse.swt.gtk.linux.x86_64:3.106.3")
}
else if (os.contains("mac")) {
- substitute module('org.eclipse.platform:org.eclipse.swt.${osgi.platform}') with module("org.eclipse.platform:org.eclipse.swt.cocoa.macosx.x86_64:3.106.3")
+ substitute module('org.eclipse.platform:org.eclipse.swt.${osgi.platform}') using module("org.eclipse.platform:org.eclipse.swt.cocoa.macosx.x86_64:3.106.3")
}
}
}