# HG changeset patch
# User smith@nwoca.org
# Date 1546716429 0
# Node ID bf415185af13d67d6c5c8317feafa56d63e49d82
# Parent f1f4ec4633ca837fc7ce653371110dafaf784531
add default copyright notice config for intellij
diff -r f1f4ec4633ca -r bf415185af13 ODE-copyright.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ODE-copyright.xml Sat Jan 05 19:27:09 2019 +0000
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff -r f1f4ec4633ca -r bf415185af13 init40.gradle
--- a/init40.gradle Thu Nov 29 15:43:43 2018 +0000
+++ b/init40.gradle Sat Jan 05 19:27:09 2019 +0000
@@ -9,6 +9,8 @@
}
}
+// buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service'; termsOfServiceAgree = 'yes' }
+
final GradleVersion gradleCurrent = GradleVersion.current()
final GradleVersion gradleV410 = GradleVersion.version('4.10')
@@ -141,6 +143,11 @@
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
+ }
}
def findComponent(project, name) {
@@ -277,7 +284,7 @@
}
rootProject.afterEvaluate {
-
+
tasks.addRule("release{Major|Minor|Patch|n.n.n}: create release branch or update release Lock file") { String taskName ->
def matcher = (taskName =~ /^release(Major|Minor|Patch|\d{1,3}\.\d{1,3}\.\d{1,3})$/)
diff -r f1f4ec4633ca -r bf415185af13 profiles_settings-copyright.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles_settings-copyright.xml Sat Jan 05 19:27:09 2019 +0000
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file