diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/ColorCircleView.kt b/color/src/main/java/com/afollestad/materialdialogs/color/ColorCircleView.kt index a2fd5eec9..d978d2e5a 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/ColorCircleView.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/ColorCircleView.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/ColorGridAdapter.kt b/color/src/main/java/com/afollestad/materialdialogs/color/ColorGridAdapter.kt index 8314fd83b..cebdab499 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/ColorGridAdapter.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/ColorGridAdapter.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/ColorPagerAdapter.kt b/color/src/main/java/com/afollestad/materialdialogs/color/ColorPagerAdapter.kt index 011f73e09..969546c7b 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/ColorPagerAdapter.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/ColorPagerAdapter.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/DialogColorChooserExt.kt b/color/src/main/java/com/afollestad/materialdialogs/color/DialogColorChooserExt.kt index e5d3c79bf..9c25c62e1 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/DialogColorChooserExt.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/DialogColorChooserExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/PreviewFrameView.kt b/color/src/main/java/com/afollestad/materialdialogs/color/PreviewFrameView.kt index eac64b248..44a93b214 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/PreviewFrameView.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/PreviewFrameView.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/SeekBarGroupLayout.kt b/color/src/main/java/com/afollestad/materialdialogs/color/SeekBarGroupLayout.kt index e0c6bb127..c2ed9cf38 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/SeekBarGroupLayout.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/SeekBarGroupLayout.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/WrapContentViewPager.kt b/color/src/main/java/com/afollestad/materialdialogs/color/WrapContentViewPager.kt index 6c50e7772..2fe36bee4 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/WrapContentViewPager.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/WrapContentViewPager.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/utils/ColorExt.kt b/color/src/main/java/com/afollestad/materialdialogs/color/utils/ColorExt.kt index bc00f9d01..576ec0a0e 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/utils/ColorExt.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/utils/ColorExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color.utils diff --git a/color/src/main/java/com/afollestad/materialdialogs/color/utils/ViewExt.kt b/color/src/main/java/com/afollestad/materialdialogs/color/utils/ViewExt.kt index e6a6bbda8..53e324589 100644 --- a/color/src/main/java/com/afollestad/materialdialogs/color/utils/ViewExt.kt +++ b/color/src/main/java/com/afollestad/materialdialogs/color/utils/ViewExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.color.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/MaterialDialog.kt b/core/src/main/java/com/afollestad/materialdialogs/MaterialDialog.kt index 6ba30ed41..3d494e893 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/MaterialDialog.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/MaterialDialog.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ @file:Suppress("unused") diff --git a/core/src/main/java/com/afollestad/materialdialogs/Theme.kt b/core/src/main/java/com/afollestad/materialdialogs/Theme.kt index 3937289b4..58e88b824 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/Theme.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/Theme.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs diff --git a/core/src/main/java/com/afollestad/materialdialogs/WhichButton.kt b/core/src/main/java/com/afollestad/materialdialogs/WhichButton.kt index ea6bf00c6..d6c923057 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/WhichButton.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/WhichButton.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs diff --git a/core/src/main/java/com/afollestad/materialdialogs/actions/DialogActionExt.kt b/core/src/main/java/com/afollestad/materialdialogs/actions/DialogActionExt.kt index e4685f34a..401851961 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/actions/DialogActionExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/actions/DialogActionExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.actions diff --git a/core/src/main/java/com/afollestad/materialdialogs/callbacks/DialogCallbackExt.kt b/core/src/main/java/com/afollestad/materialdialogs/callbacks/DialogCallbackExt.kt index 2f066a963..37643a4cd 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/callbacks/DialogCallbackExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/callbacks/DialogCallbackExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.callbacks diff --git a/core/src/main/java/com/afollestad/materialdialogs/checkbox/DialogCheckboxExt.kt b/core/src/main/java/com/afollestad/materialdialogs/checkbox/DialogCheckboxExt.kt index ec6be1b84..645085978 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/checkbox/DialogCheckboxExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/checkbox/DialogCheckboxExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ @file:Suppress("unused") diff --git a/core/src/main/java/com/afollestad/materialdialogs/customview/DialogCustomViewExt.kt b/core/src/main/java/com/afollestad/materialdialogs/customview/DialogCustomViewExt.kt index 2f3367230..2682a02b2 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/customview/DialogCustomViewExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/customview/DialogCustomViewExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.customview diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/button/DialogActionButton.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/button/DialogActionButton.kt index 458073f20..0dcda125a 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/button/DialogActionButton.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/button/DialogActionButton.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.button diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/button/DialogActionButtonLayout.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/button/DialogActionButtonLayout.kt index bcf068ebb..068c92ce1 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/button/DialogActionButtonLayout.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/button/DialogActionButtonLayout.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.button diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/list/DialogAdapter.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/list/DialogAdapter.kt index 0bea956db..b2d91b4d3 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/list/DialogAdapter.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/list/DialogAdapter.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.list diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/list/DialogRecyclerView.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/list/DialogRecyclerView.kt index 4eb30d874..1b2cef1ce 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/list/DialogRecyclerView.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/list/DialogRecyclerView.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.list diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/list/MultiChoiceDialogAdapter.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/list/MultiChoiceDialogAdapter.kt index 5f37d1a34..313d6b1fc 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/list/MultiChoiceDialogAdapter.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/list/MultiChoiceDialogAdapter.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.list diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/list/PlainListDialogAdapter.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/list/PlainListDialogAdapter.kt index 93190a8ab..94ba3ff5b 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/list/PlainListDialogAdapter.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/list/PlainListDialogAdapter.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.list diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/list/SingleChoiceDialogAdapter.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/list/SingleChoiceDialogAdapter.kt index 4d036b6c5..aa99fa23f 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/list/SingleChoiceDialogAdapter.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/list/SingleChoiceDialogAdapter.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.list diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/main/BaseSubLayout.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/main/BaseSubLayout.kt index a0db9d1a7..1ef8f9455 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/main/BaseSubLayout.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/main/BaseSubLayout.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.main diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogContentLayout.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogContentLayout.kt index 898eed5bb..ac41764a4 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogContentLayout.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogContentLayout.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.main diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogLayout.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogLayout.kt index 337e2a7f2..95d83fed7 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogLayout.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogLayout.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.main diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogScrollView.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogScrollView.kt index b1fe1e2f4..862fcb537 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogScrollView.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogScrollView.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.main diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogTitleLayout.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogTitleLayout.kt index bbc1d5c7e..c86665435 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogTitleLayout.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/main/DialogTitleLayout.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.main diff --git a/core/src/main/java/com/afollestad/materialdialogs/internal/rtl/RtlTextView.kt b/core/src/main/java/com/afollestad/materialdialogs/internal/rtl/RtlTextView.kt index 81c9a284a..83ab2a311 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/internal/rtl/RtlTextView.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/internal/rtl/RtlTextView.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.internal.rtl diff --git a/core/src/main/java/com/afollestad/materialdialogs/list/DialogListExt.kt b/core/src/main/java/com/afollestad/materialdialogs/list/DialogListExt.kt index 203efc345..bf728cefa 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/list/DialogListExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/list/DialogListExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ @file:Suppress("unused") diff --git a/core/src/main/java/com/afollestad/materialdialogs/list/DialogMultiChoiceExt.kt b/core/src/main/java/com/afollestad/materialdialogs/list/DialogMultiChoiceExt.kt index 4c035e727..53d789add 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/list/DialogMultiChoiceExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/list/DialogMultiChoiceExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ @file:Suppress("unused") diff --git a/core/src/main/java/com/afollestad/materialdialogs/list/DialogSingleChoiceExt.kt b/core/src/main/java/com/afollestad/materialdialogs/list/DialogSingleChoiceExt.kt index 2fa1e608d..0c873b371 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/list/DialogSingleChoiceExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/list/DialogSingleChoiceExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ @file:Suppress("unused") diff --git a/core/src/main/java/com/afollestad/materialdialogs/list/ListCallbacks.kt b/core/src/main/java/com/afollestad/materialdialogs/list/ListCallbacks.kt index aec60204b..44c13fbd6 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/list/ListCallbacks.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/list/ListCallbacks.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.list diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/ArrayExt.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/ArrayExt.kt index e2606add6..e4ae79696 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/ArrayExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/ArrayExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/ColorExt.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/ColorExt.kt index 4d6233a07..3403f8d21 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/ColorExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/ColorExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/DialogExt.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/DialogExt.kt index ef77b54df..c60920c3d 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/DialogExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/DialogExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/DimensExt.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/DimensExt.kt index 30f2d5301..9ba216b9d 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/DimensExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/DimensExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/FontExt.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/FontExt.kt index 7001a36ce..f61c3a693 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/FontExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/FontExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/IntArrayExt.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/IntArrayExt.kt index 9dc6c18e0..8161504d9 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/IntArrayExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/IntArrayExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/MDUtil.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/MDUtil.kt index 65a741e40..a4a1bf5d9 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/MDUtil.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/MDUtil.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/StringExt.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/StringExt.kt index de2a199bd..1a912a7fb 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/StringExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/StringExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/core/src/main/java/com/afollestad/materialdialogs/utils/ViewExt.kt b/core/src/main/java/com/afollestad/materialdialogs/utils/ViewExt.kt index b5348d50e..ff39268af 100644 --- a/core/src/main/java/com/afollestad/materialdialogs/utils/ViewExt.kt +++ b/core/src/main/java/com/afollestad/materialdialogs/utils/ViewExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.utils diff --git a/files/src/main/java/com/afollestad/materialdialogs/files/DialogFileChooserExt.kt b/files/src/main/java/com/afollestad/materialdialogs/files/DialogFileChooserExt.kt index ee01dd70c..29d43aee3 100644 --- a/files/src/main/java/com/afollestad/materialdialogs/files/DialogFileChooserExt.kt +++ b/files/src/main/java/com/afollestad/materialdialogs/files/DialogFileChooserExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.files diff --git a/files/src/main/java/com/afollestad/materialdialogs/files/DialogFolderChooserExt.kt b/files/src/main/java/com/afollestad/materialdialogs/files/DialogFolderChooserExt.kt index 4b20c7340..6d503a379 100644 --- a/files/src/main/java/com/afollestad/materialdialogs/files/DialogFolderChooserExt.kt +++ b/files/src/main/java/com/afollestad/materialdialogs/files/DialogFolderChooserExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.files diff --git a/files/src/main/java/com/afollestad/materialdialogs/files/FileChooserAdapter.kt b/files/src/main/java/com/afollestad/materialdialogs/files/FileChooserAdapter.kt index 86a20cc9b..0f4c09123 100644 --- a/files/src/main/java/com/afollestad/materialdialogs/files/FileChooserAdapter.kt +++ b/files/src/main/java/com/afollestad/materialdialogs/files/FileChooserAdapter.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.files diff --git a/files/src/main/java/com/afollestad/materialdialogs/files/utilext/ColorUtilExt.kt b/files/src/main/java/com/afollestad/materialdialogs/files/utilext/ColorUtilExt.kt index d5382eea9..1829daee9 100644 --- a/files/src/main/java/com/afollestad/materialdialogs/files/utilext/ColorUtilExt.kt +++ b/files/src/main/java/com/afollestad/materialdialogs/files/utilext/ColorUtilExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.files.utilext diff --git a/files/src/main/java/com/afollestad/materialdialogs/files/utilext/FilesUtilExt.kt b/files/src/main/java/com/afollestad/materialdialogs/files/utilext/FilesUtilExt.kt index 2e1409aff..966ed20a9 100644 --- a/files/src/main/java/com/afollestad/materialdialogs/files/utilext/FilesUtilExt.kt +++ b/files/src/main/java/com/afollestad/materialdialogs/files/utilext/FilesUtilExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.files.utilext diff --git a/files/src/main/java/com/afollestad/materialdialogs/files/utilext/ViewExt.kt b/files/src/main/java/com/afollestad/materialdialogs/files/utilext/ViewExt.kt index c58d1376b..10ba9021b 100644 --- a/files/src/main/java/com/afollestad/materialdialogs/files/utilext/ViewExt.kt +++ b/files/src/main/java/com/afollestad/materialdialogs/files/utilext/ViewExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.files.utilext diff --git a/input/src/main/java/com/afollestad/materialdialogs/input/DialogInputExt.kt b/input/src/main/java/com/afollestad/materialdialogs/input/DialogInputExt.kt index 0c067fd5a..5260f37a4 100644 --- a/input/src/main/java/com/afollestad/materialdialogs/input/DialogInputExt.kt +++ b/input/src/main/java/com/afollestad/materialdialogs/input/DialogInputExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ @file:Suppress("unused") diff --git a/input/src/main/java/com/afollestad/materialdialogs/input/InputUtilExt.kt b/input/src/main/java/com/afollestad/materialdialogs/input/InputUtilExt.kt index 5f457974e..ae97608dc 100644 --- a/input/src/main/java/com/afollestad/materialdialogs/input/InputUtilExt.kt +++ b/input/src/main/java/com/afollestad/materialdialogs/input/InputUtilExt.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogs.input diff --git a/sample/src/main/java/com/afollestad/materialdialogssample/ColorPalette.kt b/sample/src/main/java/com/afollestad/materialdialogssample/ColorPalette.kt index f5040ac71..0f90cf934 100644 --- a/sample/src/main/java/com/afollestad/materialdialogssample/ColorPalette.kt +++ b/sample/src/main/java/com/afollestad/materialdialogssample/ColorPalette.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogssample diff --git a/sample/src/main/java/com/afollestad/materialdialogssample/MainActivity.kt b/sample/src/main/java/com/afollestad/materialdialogssample/MainActivity.kt index 9b4d0854b..61189eb22 100644 --- a/sample/src/main/java/com/afollestad/materialdialogssample/MainActivity.kt +++ b/sample/src/main/java/com/afollestad/materialdialogssample/MainActivity.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ @file:Suppress("DEPRECATION") diff --git a/sample/src/main/java/com/afollestad/materialdialogssample/Utils.kt b/sample/src/main/java/com/afollestad/materialdialogssample/Utils.kt index 195396831..5a508d2ff 100644 --- a/sample/src/main/java/com/afollestad/materialdialogssample/Utils.kt +++ b/sample/src/main/java/com/afollestad/materialdialogssample/Utils.kt @@ -1,7 +1,17 @@ -/* - * Licensed under Apache-2.0 - * +/** * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.afollestad.materialdialogssample diff --git a/spotless.gradle b/spotless.gradle index a8b91f4bb..fba51c435 100644 --- a/spotless.gradle +++ b/spotless.gradle @@ -10,7 +10,7 @@ spotless { kotlin { target "**/*.kt" ktlint().userData(['indent_size': '2', 'continuation_indent_size': '2']) - licenseHeader '/*\n * Licensed under Apache-2.0\n *\n * Designed and developed by Aidan Follestad (@afollestad)\n */' + licenseHeaderFile '../spotless.license.kt' trimTrailingWhitespace() endWithNewline() } diff --git a/spotless.license.kt b/spotless.license.kt new file mode 100644 index 000000000..e10880ec3 --- /dev/null +++ b/spotless.license.kt @@ -0,0 +1,15 @@ +/** + * Designed and developed by Aidan Follestad (@afollestad) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file