Skip to content

Commit

Permalink
build: bump up dependencies
Browse files Browse the repository at this point in the history
Closes #165
  • Loading branch information
rafamizes authored Aug 23, 2024
1 parent dfc3fc5 commit ca56157
Show file tree
Hide file tree
Showing 93 changed files with 2,129 additions and 362 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Dart Package Versioning](https://dart.dev/tools/pub

## [Unreleased]

- Bump up dependencies.
- Stricter linting rules.
- Example app tested and running on multiple platforms: Android, IOS, Web and MacOS.

## [1.1.0] - 2022-06-20

### Added
Expand Down
24 changes: 9 additions & 15 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
include: package:lint/analysis_options_package.yaml
include: package:lint/package.yaml

analyzer:
strong-mode:
# A value of false ensures that the type inference engine never implicitly casts
# from dynamic to a more specific type.
implicit-casts: false
# A value of false ensures that the type inference engine never chooses the
# dynamic type when it can’t determine a static type.
implicit-dynamic: false
exclude:
- '**.freezed.dart'
- '**.g.dart'
linter:
rules:
always_use_package_imports: false
# Make constructors the first thing in every class
sort_unnamed_constructors_first: true
sort_constructors_first: true
avoid_catches_without_on_clauses: true
avoid_equals_and_hash_code_on_mutable_classes: true
cancel_subscriptions: true
# Good packages document everything
public_member_api_docs: true
# Always await.
unawaited_futures: true
always_declare_return_types: true
cancel_subscriptions: true
close_sinks: true
only_throw_errors: true
package_api_docs: true
39 changes: 37 additions & 2 deletions example/.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,42 @@
# This file should be version controlled and should not be manually edited.

version:
revision: b22742018b3edf16c6cadd7b76d9db5e7f9064b5
channel: beta
revision: "80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: android
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: ios
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: linux
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: macos
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: web
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
- platform: windows
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
13 changes: 9 additions & 4 deletions example/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
include: package:lint/analysis_options_package.yaml
analyzer:
exclude:
- '**.freezed.dart'
- '**.g.dart'
linter:
rules:
# Make constructors the first thing in every class
sort_unnamed_constructors_first: true
sort_constructors_first: true
avoid_catches_without_on_clauses: true
avoid_equals_and_hash_code_on_mutable_classes: true
cancel_subscriptions: true
# Good packages document everything
public_member_api_docs: true
# It's a good practice to expose the ability to provide a key when creating public widgets.
use_key_in_widget_constructors: true

package_api_docs: true
5 changes: 5 additions & 0 deletions example/android/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="/Users/rafamizes/Library/Android/sdk/sources/android-28/"/>
<classpathentry kind="lib" path="."/>
</classpath>
65 changes: 26 additions & 39 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,57 +1,44 @@
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
plugins {
id "com.android.application"
id "kotlin-android"
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin"
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 30
namespace = "dev.dartoos.example"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}

defaultConfig {
applicationId "dev.dartoos.example"
minSdkVersion 16
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "dev.dartoos.example"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}

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
signingConfig = signingConfigs.debug
}
}
}

flutter {
source '../..'
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
source = "../.."
}
6 changes: 3 additions & 3 deletions example/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.dartoos.example">
<!-- Flutter needs it to communicate with the running application
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
Expand Down
28 changes: 16 additions & 12 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.dartoos.example">
<application
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="example"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
Expand All @@ -18,15 +20,6 @@
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
Expand All @@ -38,4 +31,15 @@
android:name="flutterEmbedding"
android:value="2" />
</application>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility and
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
<queries>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/>
</intent>
</queries>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ package dev.dartoos.example

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}
class MainActivity: FlutterActivity()
23 changes: 6 additions & 17 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,18 @@
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

rootProject.buildDir = '../build'
rootProject.buildDir = "../build"
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app')
}
subprojects {
project.evaluationDependsOn(":app")
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion example/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
3 changes: 1 addition & 2 deletions example/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
30 changes: 22 additions & 8 deletions example/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
include ':app'
pluginManagement {
def flutterSdkPath = {
def properties = new Properties()
file("local.properties").withInputStream { properties.load(it) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
return flutterSdkPath
}()

def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")

assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}

def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}

include ":app"
2 changes: 1 addition & 1 deletion example/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
<string>12.0</string>
</dict>
</plist>
Loading

1 comment on commit ca56157

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on ca56157 Aug 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to retrieve PDD puzzles from the code base and submit them to github. If you think that it's a bug on our side, please submit it to yegor256/0pdd:

set -x && set -e && set -o pipefail && cd /tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA && pdd -v -f /tmp/20240823-9837-9k3ckk [1]: + set -e + set -o pipefail + cd /tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA + pdd -v -f...

Please, copy and paste this stack trace to GitHub:

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA && pdd -v -f /tmp/20240823-9837-9k3ckk [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA
+ pdd -v -f /tmp/20240823-9837-9k3ckk

My version is 0.24.0
Ruby version is 3.1.4 at x86_64-linux
Reading from root dir /tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png is a binary file (544 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png is a binary file (442 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png is a binary file (721 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png is a binary file (1031 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png is a binary file (1443 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json is a binary file (2519 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png is a binary file (10932 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png is a binary file (564 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png is a binary file (1283 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png is a binary file (1588 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png is a binary file (1025 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png is a binary file (1716 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png is a binary file (1920 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png is a binary file (1283 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png is a binary file (1895 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png is a binary file (2665 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png is a binary file (2665 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png is a binary file (3831 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png is a binary file (1888 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png is a binary file (3294 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png is a binary file (3612 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json is a binary file (391 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png is a binary file (68 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png is a binary file (68 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png is a binary file (68 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json is a binary file (1291 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png is a binary file (46993 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png is a binary file (3276 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png is a binary file (1429 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png is a binary file (5933 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png is a binary file (1243 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png is a binary file (14800 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png is a binary file (1874 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/web/favicon.png is a binary file (917 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/web/icons/Icon-192.png is a binary file (5292 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/web/icons/Icon-512.png is a binary file (8252 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/web/icons/Icon-maskable-192.png is a binary file (5594 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/web/icons/Icon-maskable-512.png is a binary file (20998 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/web/manifest.json is a binary file (570 bytes)
/tmp/0pdd20240823-2-5xagiw/Z2l0QGdpdGh1Yi5jb206ZGFydG9vcy1kZXYvZm9ybWRhdG9yLmdpdA/example/windows/runner/resources/app_icon.ico is a binary file (33772 bytes)
Reading .gitattributes ...
Reading .github/workflows/build.yml ...
Reading .gitignore ...
Reading .metadata ...
Reading .rultor.yml ...
Reading CHANGELOG.md ...
Reading LICENSE ...
Reading README.md ...
Reading analysis_options.yaml ...
Reading example/.gitignore ...
Reading example/.metadata ...
Reading example/README.md ...
Reading example/analysis_options.yaml ...
Reading example/android/.classpath ...
Reading example/android/.gitignore ...
Reading example/android/app/build.gradle ...
ERROR: ERROR: example/android/app/build.gradle; PDD::Error at example/android/app/build.gradle:23: TODO found, but puzzle can't be parsed, most probably because TODO is not followed by a puzzle marker, as this page explains: https://github.com/cqfn/pdd#how-to-format
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/cqfn/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/cqfn/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:74:in `rescue in block in xml'
/app/objects/git_repo.rb:71:in `block in xml'
/app/vendor/ruby-3.1.4/lib/ruby/3.1.0/tempfile.rb:317:in `open'
/app/objects/git_repo.rb:70:in `xml'
/app/objects/puzzles.rb:46:in `deploy'
/app/objects/jobs/job.rb:38:in `proceed'
/app/objects/jobs/job_starred.rb:32:in `proceed'
/app/objects/jobs/job_recorded.rb:31:in `proceed'
/app/objects/jobs/job_emailed.rb:33:in `proceed'
/app/objects/jobs/job_commiterrors.rb:33:in `proceed'
/app/objects/jobs/job_detached.rb:48:in `exclusive'
/app/objects/jobs/job_detached.rb:36:in `block in proceed'
/app/objects/jobs/job_detached.rb:36:in `fork'
/app/objects/jobs/job_detached.rb:36:in `proceed'
/app/0pdd.rb:549:in `process_request'
/app/0pdd.rb:380:in `block in <top (required)>'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1804:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1804:in `block in compile!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1071:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1089:in `route_eval'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1071:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1120:in `block in process_route'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1118:in `catch'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1118:in `process_route'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1069:in `block in route!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1066:in `each'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1066:in `route!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1190:in `block in dispatch!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in `catch'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in `invoke'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1185:in `dispatch!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1001:in `block in call!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in `catch'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1161:in `invoke'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1001:in `call!'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:990:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-3.0.9/lib/rack/rewindable_input.rb:25:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-3.0.9/lib/rack/deflater.rb:47:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-4.0.0/lib/rack/protection/xss_header.rb:20:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-4.0.0/lib/rack/protection/path_traversal.rb:18:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-4.0.0/lib/rack/protection/json_csrf.rb:28:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-4.0.0/lib/rack/protection/base.rb:53:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-4.0.0/lib/rack/protection/base.rb:53:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-protection-4.0.0/lib/rack/protection/frame_options.rb:33:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-3.0.9/lib/rack/logger.rb:19:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-3.0.9/lib/rack/common_logger.rb:43:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:266:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:259:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-3.0.9/lib/rack/head.rb:15:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rack-3.0.9/lib/rack/method_override.rb:28:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:224:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:2115:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1674:in `block in call'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1890:in `synchronize'
/app/vendor/bundle/ruby/3.1.0/gems/sinatra-4.0.0/lib/sinatra/base.rb:1674:in `call'
/app/vendor/bundle/ruby/3.1.0/gems/rackup-2.1.0/lib/rackup/handler/webrick.rb:111:in `service'
/app/vendor/bundle/ruby/3.1.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in `service'
/app/vendor/bundle/ruby/3.1.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in `run'
/app/vendor/bundle/ruby/3.1.0/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'

Please sign in to comment.