Skip to content

Commit 1f6f3b5

Browse files
authored
Fix license file (#2436)
1 parent 0385228 commit 1f6f3b5

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

LICENSE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
ApplicationInsights-Java
2+
Copyright (c) Microsoft Corporation
3+
All rights reserved.
4+
5+
MIT License
6+
Permission is hereby granted, free of charge, to any person obtaining a copy of this
7+
software and associated documentation files (the ""Software""), to deal in the Software
8+
without restriction, including without limitation the rights to use, copy, modify, merge,
9+
publish, distribute, sublicense, and/or sell copies of the Software, and to permit
10+
persons to whom the Software is furnished to do so, subject to the following conditions:
11+
The above copyright notice and this permission notice shall be included in all copies or
12+
substantial portions of the Software.
13+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
14+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
15+
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
16+
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
17+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18+
DEALINGS IN THE SOFTWARE.

agent/agent/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,7 @@ fun CopySpec.isolateClasses(jars: Iterable<File>) {
210210
rename("""^LICENSE$""", "LICENSE.renamed")
211211
}
212212
}
213+
from("${rootProject.projectDir}/LICENSE") {
214+
into("META-INF")
215+
}
213216
}

smoke-tests/apps/VerifyShading/src/main/java/com/microsoft/applicationinsights/smoketestapp/TestController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public List<String> getUnexpectedEntries() throws IOException {
7171
expectedEntries.add("META-INF/maven/.*");
7272
expectedEntries.add("META-INF/licenses/");
7373
expectedEntries.add("META-INF/licenses/.*");
74+
expectedEntries.add("META-INF/LICENSE");
7475
expectedEntries.add("META-INF/MANIFEST\\.MF");
7576
expectedEntries.add("applicationinsights\\.appsvc\\.logback\\.xml");
7677
expectedEntries.add("applicationinsights\\.console\\.logback\\.xml");

0 commit comments

Comments
 (0)