-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1e0dac6
Showing
118 changed files
with
5,160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: ci | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
tasks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run tests and build apk | ||
uses: fluentci-io/setup-fluentci@v5 | ||
with: | ||
wasm: true | ||
plugin: flutter | ||
args: | | ||
code_quality | ||
test | ||
build apk --release | ||
env: | ||
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build/ | ||
.dart_tool/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Copyright (c) 2023 Tsiry Sandratraina <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# FluentCI CI/CD demo for Flutter | ||
|
||
[![ci](https://github.com/fluentci-demos/fluentci-demo-flutter/actions/workflows/ci.yml/badge.svg)](https://github.com/fluentci-demos/fluentci-demo-flutter/actions/workflows/ci.yml) | ||
|
||
This is an example application and CI/CD pipeline showing how to build, test a Flutter application using FluentCI. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
/.idea/navEditor.xml | ||
/.idea/assetWizardSettings.xml | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
local.properties | ||
/lint | ||
/app/lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Copyright 2014 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. | ||
|
||
plugins { | ||
id "com.android.application" | ||
id "dev.flutter.flutter-gradle-plugin" | ||
} | ||
|
||
def localProperties = new Properties() | ||
def localPropertiesFile = rootProject.file('local.properties') | ||
if (localPropertiesFile.exists()) { | ||
localPropertiesFile.withReader('UTF-8') { reader -> | ||
localProperties.load(reader) | ||
} | ||
} | ||
|
||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') | ||
if (flutterVersionCode == null) { | ||
flutterVersionCode = '1' | ||
} | ||
|
||
def flutterVersionName = localProperties.getProperty('flutter.versionName') | ||
if (flutterVersionName == null) { | ||
flutterVersionName = '1.0' | ||
} | ||
|
||
android { | ||
namespace "io.flutter.examples.hello_world" | ||
compileSdkVersion flutter.compileSdkVersion | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
defaultConfig { | ||
applicationId "io.flutter.examples.hello_world" | ||
minSdkVersion flutter.minSdkVersion | ||
targetSdkVersion flutter.targetSdkVersion | ||
versionCode flutterVersionCode.toInteger() | ||
versionName flutterVersionName | ||
} | ||
|
||
buildTypes { | ||
release { | ||
// TODO: Add your own signing config for the release build. | ||
// Signing with the debug keys for now, so `flutter run --release` works. | ||
signingConfig signingConfigs.debug | ||
} | ||
} | ||
} | ||
|
||
flutter { | ||
source '../..' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- Copyright 2014 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. --> | ||
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<!-- The INTERNET permission is required for development. Specifically, | ||
flutter needs it to communicate with the running application | ||
to allow setting breakpoints, to provide hot reload, etc. | ||
--> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
|
||
<application android:label="hello_world" android:icon="@mipmap/ic_launcher"> | ||
<activity android:name="io.flutter.embedding.android.FlutterActivity" | ||
android:exported="true" | ||
android:theme="@android:style/Theme.Black.NoTitleBar" | ||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" | ||
android:hardwareAccelerated="true" | ||
android:windowSoftInputMode="adjustResize"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
<!-- Don't delete the meta-data below. | ||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> | ||
<meta-data | ||
android:name="flutterEmbedding" | ||
android:value="2" /> | ||
</application> | ||
</manifest> |
19 changes: 19 additions & 0 deletions
19
android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package io.flutter.plugins; | ||
|
||
import androidx.annotation.Keep; | ||
import androidx.annotation.NonNull; | ||
import io.flutter.Log; | ||
|
||
import io.flutter.embedding.engine.FlutterEngine; | ||
|
||
/** | ||
* Generated file. Do not edit. | ||
* This file is generated by the Flutter tool based on the | ||
* plugins that support the Android platform. | ||
*/ | ||
@Keep | ||
public final class GeneratedPluginRegistrant { | ||
private static final String TAG = "GeneratedPluginRegistrant"; | ||
public static void registerWith(@NonNull FlutterEngine flutterEngine) { | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright 2014 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. | ||
|
||
// This file is auto generated. | ||
// To update all the build.gradle files in the Flutter repo, | ||
// See dev/tools/bin/generate_gradle_lockfiles.dart. | ||
|
||
buildscript { | ||
ext.kotlin_version = '1.5.31' | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
classpath 'com.android.tools.build:gradle:7.2.0' | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
} | ||
|
||
configurations.classpath { | ||
resolutionStrategy.activateDependencyLocking() | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
rootProject.buildDir = '../build' | ||
|
||
subprojects { | ||
project.buildDir = "${rootProject.buildDir}/${project.name}" | ||
} | ||
subprojects { | ||
project.evaluationDependsOn(':app') | ||
dependencyLocking { | ||
ignoredDependencies.add('io.flutter:*') | ||
lockFile = file("${rootProject.projectDir}/project-${project.name}.lockfile") | ||
if (!project.hasProperty('local-engine-repo')) { | ||
lockAllConfigurations() | ||
} | ||
} | ||
} | ||
|
||
tasks.register("clean", Delete) { | ||
delete rootProject.buildDir | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
# This is a Gradle generated file for dependency locking. | ||
# Manual edits can break the build and are not advised. | ||
# This file is expected to be part of source control. | ||
androidx.databinding:databinding-common:7.2.0=classpath | ||
androidx.databinding:databinding-compiler-common:7.2.0=classpath | ||
com.android.databinding:baseLibrary:7.2.0=classpath | ||
com.android.tools.analytics-library:crash:30.2.0=classpath | ||
com.android.tools.analytics-library:protos:30.2.0=classpath | ||
com.android.tools.analytics-library:shared:30.2.0=classpath | ||
com.android.tools.analytics-library:tracker:30.2.0=classpath | ||
com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09=classpath | ||
com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09=classpath | ||
com.android.tools.build:aapt2-proto:7.2.0-7984345=classpath | ||
com.android.tools.build:aaptcompiler:7.2.0=classpath | ||
com.android.tools.build:apksig:7.2.0=classpath | ||
com.android.tools.build:apkzlib:7.2.0=classpath | ||
com.android.tools.build:builder-model:7.2.0=classpath | ||
com.android.tools.build:builder-test-api:7.2.0=classpath | ||
com.android.tools.build:builder:7.2.0=classpath | ||
com.android.tools.build:bundletool:1.8.2=classpath | ||
com.android.tools.build:gradle-api:7.2.0=classpath | ||
com.android.tools.build:gradle:7.2.0=classpath | ||
com.android.tools.build:manifest-merger:30.2.0=classpath | ||
com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api=classpath | ||
com.android.tools.ddms:ddmlib:30.2.0=classpath | ||
com.android.tools.layoutlib:layoutlib-api:30.2.0=classpath | ||
com.android.tools.lint:lint-model:30.2.0=classpath | ||
com.android.tools.lint:lint-typedef-remover:30.2.0=classpath | ||
com.android.tools.utp:android-device-provider-ddmlib-proto:30.2.0=classpath | ||
com.android.tools.utp:android-device-provider-gradle-proto:30.2.0=classpath | ||
com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.2.0=classpath | ||
com.android.tools.utp:android-test-plugin-host-coverage-proto:30.2.0=classpath | ||
com.android.tools.utp:android-test-plugin-host-retention-proto:30.2.0=classpath | ||
com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.0=classpath | ||
com.android.tools:annotations:30.2.0=classpath | ||
com.android.tools:common:30.2.0=classpath | ||
com.android.tools:dvlib:30.2.0=classpath | ||
com.android.tools:repository:30.2.0=classpath | ||
com.android.tools:sdk-common:30.2.0=classpath | ||
com.android.tools:sdklib:30.2.0=classpath | ||
com.android:signflinger:7.2.0=classpath | ||
com.android:zipflinger:7.2.0=classpath | ||
com.fasterxml.jackson.core:jackson-annotations:2.11.1=classpath | ||
com.fasterxml.jackson.core:jackson-core:2.11.1=classpath | ||
com.fasterxml.jackson.core:jackson-databind:2.11.1=classpath | ||
com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.1=classpath | ||
com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.11.1=classpath | ||
com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1=classpath | ||
com.fasterxml.woodstox:woodstox-core:6.2.1=classpath | ||
com.github.gundy:semver4j:0.16.4=classpath | ||
com.google.android:annotations:4.1.1.4=classpath | ||
com.google.api.grpc:proto-google-common-protos:1.12.0=classpath | ||
com.google.auto.value:auto-value-annotations:1.6.2=classpath | ||
com.google.code.findbugs:jsr305:3.0.2=classpath | ||
com.google.code.gson:gson:2.8.6=classpath | ||
com.google.crypto.tink:tink:1.3.0-rc2=classpath | ||
com.google.dagger:dagger:2.28.3=classpath | ||
com.google.errorprone:error_prone_annotations:2.3.4=classpath | ||
com.google.flatbuffers:flatbuffers-java:1.12.0=classpath | ||
com.google.guava:failureaccess:1.0.1=classpath | ||
com.google.guava:guava:30.1-jre=classpath | ||
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=classpath | ||
com.google.j2objc:j2objc-annotations:1.3=classpath | ||
com.google.jimfs:jimfs:1.1=classpath | ||
com.google.protobuf:protobuf-java-util:3.10.0=classpath | ||
com.google.protobuf:protobuf-java:3.10.0=classpath | ||
com.google.testing.platform:core-proto:0.0.8-alpha07=classpath | ||
com.googlecode.json-simple:json-simple:1.1=classpath | ||
com.googlecode.juniversalchardet:juniversalchardet:1.0.3=classpath | ||
com.squareup:javapoet:1.10.0=classpath | ||
com.squareup:javawriter:2.5.0=classpath | ||
com.sun.activation:javax.activation:1.2.0=classpath | ||
com.sun.istack:istack-commons-runtime:3.0.8=classpath | ||
com.sun.xml.fastinfoset:FastInfoset:1.2.16=classpath | ||
commons-codec:commons-codec:1.11=classpath | ||
commons-io:commons-io:2.4=classpath | ||
commons-logging:commons-logging:1.2=classpath | ||
de.undercouch:gradle-download-task:4.1.1=classpath | ||
io.grpc:grpc-api:1.21.1=classpath | ||
io.grpc:grpc-context:1.21.1=classpath | ||
io.grpc:grpc-core:1.21.1=classpath | ||
io.grpc:grpc-netty:1.21.1=classpath | ||
io.grpc:grpc-protobuf-lite:1.21.1=classpath | ||
io.grpc:grpc-protobuf:1.21.1=classpath | ||
io.grpc:grpc-stub:1.21.1=classpath | ||
io.netty:netty-buffer:4.1.37.Final=classpath | ||
io.netty:netty-codec-http2:4.1.37.Final=classpath | ||
io.netty:netty-codec-http:4.1.37.Final=classpath | ||
io.netty:netty-codec-socks:4.1.37.Final=classpath | ||
io.netty:netty-codec:4.1.37.Final=classpath | ||
io.netty:netty-common:4.1.37.Final=classpath | ||
io.netty:netty-handler-proxy:4.1.37.Final=classpath | ||
io.netty:netty-handler:4.1.37.Final=classpath | ||
io.netty:netty-resolver:4.1.37.Final=classpath | ||
io.netty:netty-transport:4.1.37.Final=classpath | ||
io.opencensus:opencensus-api:0.21.0=classpath | ||
io.opencensus:opencensus-contrib-grpc-metrics:0.21.0=classpath | ||
it.unimi.dsi:fastutil:8.4.0=classpath | ||
jakarta.activation:jakarta.activation-api:1.2.1=classpath | ||
jakarta.xml.bind:jakarta.xml.bind-api:2.3.2=classpath | ||
javax.inject:javax.inject:1=classpath | ||
net.java.dev.jna:jna-platform:5.6.0=classpath | ||
net.java.dev.jna:jna:5.6.0=classpath | ||
net.sf.jopt-simple:jopt-simple:4.9=classpath | ||
net.sf.kxml:kxml2:2.3.0=classpath | ||
org.apache.commons:commons-compress:1.20=classpath | ||
org.apache.httpcomponents:httpclient:4.5.9=classpath | ||
org.apache.httpcomponents:httpcore:4.4.11=classpath | ||
org.apache.httpcomponents:httpmime:4.5.6=classpath | ||
org.bitbucket.b_c:jose4j:0.7.0=classpath | ||
org.bouncycastle:bcpkix-jdk15on:1.56=classpath | ||
org.bouncycastle:bcprov-jdk15on:1.56=classpath | ||
org.checkerframework:checker-qual:3.5.0=classpath | ||
org.codehaus.mojo:animal-sniffer-annotations:1.17=classpath | ||
org.codehaus.woodstox:stax2-api:4.2.1=classpath | ||
org.glassfish.jaxb:jaxb-runtime:2.3.2=classpath | ||
org.glassfish.jaxb:txw2:2.3.2=classpath | ||
org.jdom:jdom2:2.0.6=classpath | ||
org.jetbrains.dokka:dokka-core:1.4.32=classpath | ||
org.jetbrains.intellij.deps:trove4j:1.0.20181211=classpath | ||
org.jetbrains.kotlin:kotlin-android-extensions:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-build-common:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-compiler-runner:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-daemon-client:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-daemon-embeddable:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-native-utils:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-project-model:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-reflect:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-scripting-common:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-scripting-jvm:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-stdlib:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-tooling-metadata:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-util-io:1.5.31=classpath | ||
org.jetbrains.kotlin:kotlin-util-klib:1.5.31=classpath | ||
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0=classpath | ||
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0=classpath | ||
org.jetbrains:annotations:13.0=classpath | ||
org.jetbrains:markdown-jvm:0.2.1=classpath | ||
org.jetbrains:markdown:0.2.1=classpath | ||
org.json:json:20180813=classpath | ||
org.jsoup:jsoup:1.13.1=classpath | ||
org.jvnet.staxex:stax-ex:1.8.1=classpath | ||
org.ow2.asm:asm-analysis:9.1=classpath | ||
org.ow2.asm:asm-commons:9.1=classpath | ||
org.ow2.asm:asm-tree:9.1=classpath | ||
org.ow2.asm:asm-util:9.1=classpath | ||
org.ow2.asm:asm:9.1=classpath | ||
org.slf4j:slf4j-api:1.7.30=classpath | ||
org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2=classpath | ||
xerces:xercesImpl:2.12.0=classpath | ||
xml-apis:xml-apis:1.4.01=classpath | ||
empty= |
Oops, something went wrong.