meta: Switch to selfhosted pub repository

This commit is contained in:
PapaTutuWawa 2022-04-30 16:01:54 +02:00
parent a15d42dd53
commit 1395e3d6e6
12 changed files with 64 additions and 97 deletions

View File

@ -1,3 +1,11 @@
# 0.1.0+1 ## 0.1.0
- Initial release of this plugin. * Initial release of this plugin.
## 0.1.1
* Switch to selfhosted pub repository
## 0.1.2
* Expose [IsolateHandler] and [MediaScannerImplementation] from moxplatform_platform_interface

View File

@ -1 +0,0 @@
include: package:very_good_analysis/analysis_options.2.4.0.yaml

View File

@ -1,20 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="102" height="20">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1" />
<stop offset="1" stop-opacity=".1" />
</linearGradient>
<clipPath id="a">
<rect width="102" height="20" rx="3" fill="#fff" />
</clipPath>
<g clip-path="url(#a)">
<path fill="#555" d="M0 0h59v20H0z" />
<path fill="#44cc11" d="M59 0h43v20H59z" />
<path fill="url(#b)" d="M0 0h102v20H0z" />
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110">
<text x="305" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="490">coverage</text>
<text x="305" y="140" transform="scale(.1)" textLength="490">coverage</text>
<text x="795" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="330">100%</text>
<text x="795" y="140" transform="scale(.1)" textLength="330">100%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -2,6 +2,9 @@ import "package:moxplatform_platform_interface/moxplatform_platform_interface.da
import "package:moxplatform_platform_interface/src/isolate.dart"; import "package:moxplatform_platform_interface/src/isolate.dart";
import "package:moxplatform_platform_interface/src/media.dart"; import "package:moxplatform_platform_interface/src/media.dart";
export "package:moxplatform_platform_interface/src/isolate.dart" show IsolateHandler;
export "package:moxplatform_platform_interface/src/media.dart" show MediaScannerImplementation;
class MoxplatformPlugin { class MoxplatformPlugin {
static IsolateHandler get handler => MoxplatformInterface.handler; static IsolateHandler get handler => MoxplatformInterface.handler;
static MediaScannerImplementation get media => MoxplatformInterface.media; static MediaScannerImplementation get media => MoxplatformInterface.media;

View File

@ -1,7 +1,7 @@
name: moxplatform name: moxplatform
description: Moxxy platform-specific code description: Moxxy platform-specific code
version: 0.1.0 version: 0.1.2
publish_to: none publish_to: https://pub.polynom.me
environment: environment:
sdk: ">=2.16.0 <3.0.0" sdk: ">=2.16.0 <3.0.0"
@ -16,22 +16,17 @@ flutter:
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
moxlib:
git:
url: https://codeberg.org/moxxy/moxlib.git
rev: 020c592d459654b7a807f115bd70809b3cf522bd
moxplatform_android: moxplatform_android:
git: hosted: https://pub.polynom.me
url: https://codeberg.org/moxxy/moxplatform.git version: 0.1.2
rev: e5daebcfc773e9951413d8a2079673aaf6126030
path: src/moxplatform_android
#path: ../moxplatform_android
moxplatform_platform_interface: moxplatform_platform_interface:
git: hosted: https://pub.polynom.me
url: https://codeberg.org/moxxy/moxplatform.git version: 0.1.2
rev: e5daebcfc773e9951413d8a2079673aaf6126030
path: src/moxplatform_platform_interface moxlib:
#path: ../moxplatform_platform_interface hosted: https://pub.polynom.me
version: 0.1.1
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:

View File

@ -1,3 +1,11 @@
# 0.1.0+1 ## 0.1.0
- Initial release of this plugin. * Initial release of this plugin.
## 0.1.1
Skipped for consistency
## 0.1.2
* Switch to selfhosted pub repository

View File

@ -1,4 +0,0 @@
include: package:flutter_lints/flutter.yaml
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options

View File

@ -1,7 +1,8 @@
name: moxplatform_android name: moxplatform_android
description: Android implementation of moxplatform description: Android implementation of moxplatform
version: 0.1.0 version: 0.1.2
publish_to: none homepage: https://codeberg.org/moxxy/moxplatform
publish_to: https://pub.polynom.me
environment: environment:
sdk: ">=2.16.0 <3.0.0" sdk: ">=2.16.0 <3.0.0"
@ -20,27 +21,22 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
moxplatform_platform_interface: moxplatform_platform_interface:
git: hosted: https://pub.polynom.me
url: https://codeberg.org/moxxy/moxplatform.git version: 0.1.2
rev: e5daebcfc773e9951413d8a2079673aaf6126030
path: src/moxplatform_platform_interface
#path: ../moxplatform_platform_interface
moxplatform: moxplatform:
git: hosted: https://pub.polynom.me
url: https://codeberg.org/moxxy/moxplatform.git version: 0.1.2
rev: e5daebcfc773e9951413d8a2079673aaf6126030
path: src/moxplatform
#path: ../moxplatform
moxlib: moxlib:
git: hosted: https://pub.polynom.me
url: https://codeberg.org/moxxy/moxlib.git version: 0.1.1
rev: 020c592d459654b7a807f115bd70809b3cf522bd
logging: 1.0.2 logging: 1.0.2
get_it: 7.2.0 get_it: 7.2.0
uuid: 3.0.5 uuid: 3.0.5
media_scanner: 2.0.0 media_scanner: 2.0.0
plugin_platform_interface: 2.0.0
meta: 1.7.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
plugin_platform_interface: 2.0.0

View File

@ -1,24 +0,0 @@
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:moxplatform_android/moxplatform_android_method_channel.dart';
void main() {
MethodChannelMoxplatformAndroid platform = MethodChannelMoxplatformAndroid();
const MethodChannel channel = MethodChannel('moxplatform_android');
TestWidgetsFlutterBinding.ensureInitialized();
setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
});
test('getPlatformVersion', () async {
expect(await platform.getPlatformVersion(), '42');
});
}

View File

@ -1,3 +1,11 @@
# 0.1.0+1 ## 0.1.0
* Initial release. * Initial release.
## 0.1.1
Skipped for consistency
## 0.1.2
* Switched to a selfhosted pub repository

View File

@ -1 +0,0 @@
include: package:very_good_analysis/analysis_options.2.4.0.yaml

View File

@ -1,6 +1,8 @@
name: moxplatform_platform_interface name: moxplatform_platform_interface
description: A common platform interface for the my_plugin plugin. description: A common platform interface for the my_plugin plugin.
version: 0.1.0+1 version: 0.1.2
homepage: https://codeberg.org/moxxy/moxplatform
publish_to: https://pub.polynom.me
environment: environment:
sdk: ">=2.16.0 <3.0.0" sdk: ">=2.16.0 <3.0.0"
@ -9,18 +11,15 @@ environment:
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
plugin_platform_interface: 2.1.0
moxplatform: moxplatform:
git: hosted: https://pub.polynom.me
url: https://codeberg.org/moxxy/moxplatform.git version: 0.1.2
rev: e5daebcfc773e9951413d8a2079673aaf6126030
path: src/moxplatform
#path: ../moxplatform
moxlib: moxlib:
git: hosted: https://pub.polynom.me
url: https://codeberg.org/moxxy/moxlib.git version: 0.1.1
rev: 020c592d459654b7a807f115bd70809b3cf522bd plugin_platform_interface: 2.1.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: