1 <#ftl> 2 <#assign date = .now?date> 3 This sample uses the following software: 4 5 Copyright ${date?string.yyyy} The Android Open Source Project 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 <#if sample.attribution?has_content> 19 <#list sample.attribution as attribution> 20 21 ${attribution.copyright} 22 23 <#if attribution.license = "APACHE2"> 24 Licensed under the Apache License, Version 2.0 (the "License"); 25 you may not use this file except in compliance with the License. 26 You may obtain a copy of the License at 27 28 http://www.apache.org/licenses/LICENSE-2.0 29 30 Unless required by applicable law or agreed to in writing, software 31 distributed under the License is distributed on an "AS IS" BASIS, 32 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 33 See the License for the specific language governing permissions and 34 limitations under the License. 35 </#if> 36 </#list> 37 </#if> 38