Skip to content

Commit 99c82af

Browse files
Merge pull request #5 from cgutierr-zgz/master
Updates to 0.2.0
2 parents afd8457 + 9fefb7d commit 99c82af

41 files changed

Lines changed: 1081 additions & 626 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,12 @@
66

77
build/
88

9+
coverage/
10+
11+
# IntelliJ related
912
.idea/
10-
.vscode/
13+
!.idea/codeStyleConfig.xml
14+
15+
# Visual Studio Code related
16+
.vscode/
17+
!/.vscode/settings.json

.idea/codeStyleConfig.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"[dart]": {
3+
"editor.rulers": [
4+
100
5+
],
6+
"editor.formatOnSave": true
7+
},
8+
"dart.lineLength": 100
9+
}

CHANGELOG.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
1+
## 0.2.0
2+
3+
* update SDK constraints.
4+
* updates documentation.
5+
* adds tests.
6+
* adds .vscode and .idea IDE configuration settings.
7+
18
## 0.1.14
29

3-
* fix MissingPluginException on Android
10+
* fix MissingPluginException on Android.
411

512
## 0.1.13
613

7-
* dartfrmt fix
14+
* dartfrmt fix.
815

916
## 0.1.12
1017

11-
* bug fix
18+
* bug fix.
1219

1320
## 0.1.11
1421

15-
* added example and enhanced null-safety on proxy set
22+
* added example and enhanced null-safety on proxy set.
1623

1724
## 0.1.10
1825

19-
* enhance readme
26+
* enhance readme.
2027

2128
## 0.1.9
2229

23-
* add example
30+
* add example.

CONTRIBUTING.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Contribution Guide
2+
3+
Feel free to contribute to this project. If you want to contribute, please follow the steps below:
4+
5+
1. Fork the project
6+
2. Commit your changes
7+
3. Create a pull request
8+
9+
Please make sure that your code is well tested.
10+
11+
## Running Tests 🧪
12+
13+
Install lcov:
14+
15+
```sh
16+
brew install lcov
17+
```
18+
19+
Run and open the report using the following command:
20+
21+
```sh
22+
flutter test --coverage --test-randomize-ordering-seed random && genhtml coverage/lcov.info -o coverage/ && open coverage/index.html
23+
```
24+
25+
Everything should be green! 🎉

analysis_options.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
include: package:very_good_analysis/analysis_options.yaml
2+
3+
formatter:
4+
page_width: 100
5+
6+
linter:
7+
rules:
8+
lines_longer_than_80_chars: false

android/build.gradle

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
1-
group 'com.victorblaess.native_flutter_proxy'
2-
version '1.0-SNAPSHOT'
3-
4-
buildscript {
5-
ext.kotlin_version = '1.6.10'
6-
repositories {
7-
google()
8-
jcenter()
9-
}
10-
11-
dependencies {
12-
classpath 'com.android.tools.build:gradle:3.5.0'
13-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
14-
}
1+
plugins {
2+
id 'com.android.library'
3+
id 'org.jetbrains.kotlin.android'
154
}
165

17-
rootProject.allprojects {
6+
allprojects {
187
repositories {
8+
gradlePluginPortal()
199
google()
20-
jcenter()
10+
mavenCentral()
2111
}
2212
}
2313

24-
apply plugin: 'com.android.library'
25-
apply plugin: 'kotlin-android'
14+
group 'com.victorblaess.native_flutter_proxy'
2615

2716
android {
28-
compileSdkVersion 28
17+
18+
namespace 'com.victorblaess.native_flutter_proxy'
19+
compileSdk 33
20+
21+
compileOptions {
22+
sourceCompatibility JavaVersion.VERSION_17
23+
targetCompatibility JavaVersion.VERSION_17
24+
}
2925

3026
sourceSets {
3127
main.java.srcDirs += 'src/main/kotlin'
@@ -40,5 +36,6 @@ android {
4036
}
4137

4238
dependencies {
43-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
44-
}
39+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KotlinVersion"
40+
implementation "org.jetbrains.kotlin:kotlin-reflect:$KotlinVersion"
41+
}

android/gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
org.gradle.jvmargs=-Xmx1536M
2-
android.enableR8=true
32
android.useAndroidX=true
43
android.enableJetifier=true
4+
AGPVersion=7.4.2
5+
KotlinVersion=1.8.22
42.4 KB
Binary file not shown.

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
36
zipStoreBase=GRADLE_USER_HOME
47
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

0 commit comments

Comments
 (0)