Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[flutter_plugin_tools] Check licenses in Kotlin #4373

Merged
merged 3 commits into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package io.flutter.plugins.example

import io.flutter.embedding.android.FlutterActivity
Expand Down
1 change: 1 addition & 0 deletions script/tool/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Added flags to `version-check` to allow overriding the platform interface
major version change restriction.
- Improved error handling and error messages in CHANGELOG version checks.
- `license-check` now validates Kotlin files.

## 0.7.1

Expand Down
1 change: 1 addition & 0 deletions script/tool/lib/src/license_check_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const Set<String> _codeFileExtensions = <String>{
'.h',
'.html',
'.java',
'.kt',
'.m',
'.mm',
'.swift',
Expand Down
1 change: 1 addition & 0 deletions script/tool/test/license_check_command_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ void main() {
'html': true,
'java': true,
'json': false,
'kt': true,
'm': true,
'md': false,
'mm': true,
Expand Down