feat(build): add copyright license headers to XML files
This commit is contained in:
parent
1221992d26
commit
9a5a417418
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<!--
|
||||||
|
~ Copyright © 2021-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Claw β</string>
|
<string name="app_name">Claw β</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<!--
|
||||||
|
~ Copyright © 2021-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<!--
|
||||||
|
~ Copyright © 2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@mipmap/ic_launcher_background"/>
|
<background android:drawable="@mipmap/ic_launcher_background"/>
|
||||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<!--
|
||||||
|
~ Copyright © 2021-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
<bool name="use_light_status_bar">false</bool>
|
<bool name="use_light_status_bar">false</bool>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<!--
|
||||||
|
~ Copyright © 2021-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
<bool name="use_light_status_bar">true</bool>
|
<bool name="use_light_status_bar">true</bool>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<!--
|
||||||
|
~ Copyright © 2021-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Claw</string>
|
<string name="app_name">Claw</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<!--
|
||||||
|
~ Copyright © 2021-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="Theme.Claw.SplashScreen" parent="Theme.SplashScreen">
|
<style name="Theme.Claw.SplashScreen" parent="Theme.SplashScreen">
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<!--
|
||||||
|
~ Copyright © 2022-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<data-extraction-rules>
|
<data-extraction-rules>
|
||||||
<cloud-backup>
|
<cloud-backup>
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<!--
|
||||||
|
~ Copyright © 2022-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<full-backup-content>
|
<full-backup-content>
|
||||||
<include
|
<include
|
||||||
domain="database"
|
domain="database"
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<!--
|
||||||
|
~ Copyright © 2022-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<queries>
|
<queries>
|
||||||
<package android:name="dev.msfjarvis.claw.android" />
|
<package android:name="dev.msfjarvis.claw.android" />
|
||||||
|
|
|
@ -37,10 +37,14 @@ class SpotlessPlugin : Plugin<Project> {
|
||||||
}
|
}
|
||||||
format("xml") {
|
format("xml") {
|
||||||
target("**/*.xml")
|
target("**/*.xml")
|
||||||
targetExclude("**/build/", ".idea/")
|
targetExclude("**/build/", ".idea/", "/spotless/", "**/lint-baseline.xml")
|
||||||
trimTrailingWhitespace()
|
trimTrailingWhitespace()
|
||||||
indentWithSpaces()
|
indentWithSpaces()
|
||||||
endWithNewline()
|
endWithNewline()
|
||||||
|
licenseHeaderFile(
|
||||||
|
project.file("spotless/license.xml"),
|
||||||
|
"<manifest|<resources|<full-backup-content|<data-extraction-rules|<adaptive-icon"
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<!--
|
||||||
|
~ Copyright © 2021-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
|
|
@ -1 +1,7 @@
|
||||||
|
<!--
|
||||||
|
~ Copyright © 2021-2023 Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
||||||
<manifest />
|
<manifest />
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
<!--
|
||||||
|
~ Copyright © $YEAR Harsh Shandilya.
|
||||||
|
~ Use of this source code is governed by an MIT-style
|
||||||
|
~ license that can be found in the LICENSE file or at
|
||||||
|
~ https://opensource.org/licenses/MIT.
|
||||||
|
-->
|
Loading…
Reference in New Issue