Mercurial > public > develkit
comparison init40.gradle @ 270:d9f3e7fe251f
disable copy right update
author | smith@nwoca.org |
---|---|
date | Mon, 07 Jan 2019 13:39:12 +0000 |
parents | bf415185af13 |
children | 16c2e0ea6501 |
comparison
equal
deleted
inserted
replaced
269:bf415185af13 | 270:d9f3e7fe251f |
---|---|
141 | 141 |
142 rootProject.afterEvaluate { r -> | 142 rootProject.afterEvaluate { r -> |
143 if (gradle.bambooBuild && r.hasProperty('requireJavaVersion')) { | 143 if (gradle.bambooBuild && r.hasProperty('requireJavaVersion')) { |
144 gradle.runtimeInfo.requireJava( r.getProperty('requireJavaVersion') ) | 144 gradle.runtimeInfo.requireJava( r.getProperty('requireJavaVersion') ) |
145 } | 145 } |
146 if (!gradle.bambooBuild && !r.file('.idea/copyright/ODE.xml').exists() ) { | 146 // if (!gradle.bambooBuild && !r.file('.idea/copyright/ODE.xml').exists() ) { |
147 r.file('.idea/copyright').mkdirs() | 147 // r.file('.idea/copyright').mkdirs() |
148 r.file('.idea/copyright/ODE.xml').text = new File("${gradle.ssdtDevelkitLocation}/ODE-copyright.xml").text | 148 // r.file('.idea/copyright/ODE.xml').text = new File("${gradle.ssdtDevelkitLocation}/ODE-copyright.xml").text |
149 r.file('.idea/copyright/profiles_settings.xml').text = new File("${gradle.ssdtDevelkitLocation}/profiles_settings-copyright.xml").text | 149 // r.file('.idea/copyright/profiles_settings.xml').text = new File("${gradle.ssdtDevelkitLocation}/profiles_settings-copyright.xml").text |
150 } | 150 // } |
151 } | 151 } |
152 | 152 |
153 def findComponent(project, name) { | 153 def findComponent(project, name) { |
154 project.component.find { it.@name == name } | 154 project.component.find { it.@name == name } |
155 } | 155 } |