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/media.dart";
export "package:moxplatform_platform_interface/src/isolate.dart" show IsolateHandler;
export "package:moxplatform_platform_interface/src/media.dart" show MediaScannerImplementation;
class MoxplatformPlugin {
static IsolateHandler get handler => MoxplatformInterface.handler;
static MediaScannerImplementation get media => MoxplatformInterface.media;

View File

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