# HG changeset patch
# User smith@nwoca.org
# Date 1546869021 0
# Node ID 16c2e0ea65011313a4e311306364520dd8e55838
# Parent d9f3e7fe251f2157e3dfa4ef6963da9747c918ca
fix copyright update
diff -r d9f3e7fe251f -r 16c2e0ea6501 ODE-copyright.xml
--- a/ODE-copyright.xml Mon Jan 07 13:39:12 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff -r d9f3e7fe251f -r 16c2e0ea6501 init40.gradle
--- a/init40.gradle Mon Jan 07 13:39:12 2019 +0000
+++ b/init40.gradle Mon Jan 07 13:50:21 2019 +0000
@@ -143,11 +143,9 @@
if (gradle.bambooBuild && r.hasProperty('requireJavaVersion')) {
gradle.runtimeInfo.requireJava( r.getProperty('requireJavaVersion') )
}
-// if (!gradle.bambooBuild && !r.file('.idea/copyright/ODE.xml').exists() ) {
-// r.file('.idea/copyright').mkdirs()
-// r.file('.idea/copyright/ODE.xml').text = new File("${gradle.ssdtDevelkitLocation}/ODE-copyright.xml").text
-// r.file('.idea/copyright/profiles_settings.xml').text = new File("${gradle.ssdtDevelkitLocation}/profiles_settings-copyright.xml").text
-// }
+ if (!gradle.bambooBuild && !r.file('.idea/copyright/ODE.xml').exists() ) {
+ updateCopyrightProfile(r)
+ }
}
def findComponent(project, name) {
@@ -598,6 +596,22 @@
}
+def updateCopyrightProfile(Project r) {
+ r.file('.idea/copyright').mkdirs()
+ r.file('.idea/copyright/ODE.xml').text =
+'''
+
+
+
+
+'''
+
+ r.file('.idea/copyright/profiles_settings.xml').text =
+'''
+
+'''
+
+}
@ToString(includeNames=true)
class RuntimeInfo {
@@ -811,6 +825,8 @@
}
}
}
-
+
}
+
+
diff -r d9f3e7fe251f -r 16c2e0ea6501 profiles_settings-copyright.xml
--- a/profiles_settings-copyright.xml Mon Jan 07 13:39:12 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file