Skip to content

Instantly share code, notes, and snippets.

View falkorichter's full-sized avatar
🎯
Focusing

Falko Richter falkorichter

🎯
Focusing
View GitHub Profile
@falkorichter
falkorichter / build.gradle
Created June 11, 2021 10:25
better test description
tasks.withType(Test) {
def failedTests = []
testLogging {
events TestLogEvent.FAILED,
TestLogEvent.SKIPPED,
TestLogEvent.STANDARD_OUT,
TestLogEvent.STANDARD_ERROR
}
afterTest { TestDescriptor descriptor, TestResult result ->
if(result.resultType == org.gradle.api.tasks.testing.TestResult.ResultType.FAILURE){
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xopt-in=kotlin.time.ExperimentalTime"
}
}
#this uses the embedded JDK and installed android SDK which comes with Android Studio
export JAVA_HOME="/Applications/Android Studio 4.1.3.app/Contents/jre/jdk/Contents/Home"
export ANDROID_SDK_ROOT=/Users/falkorichter/Library/Android/sdk
export ANDROID_HOME=/Users/falkorichter/Library/Android/sdk
export PATH="$ANDROID_SDK_ROOT/platform-tools:$ANDROID_SDK_ROOT/tools:$PATH"
{
"data" : {
"9FAD30EF-996F-4A4B-BCB3-E934A0DC6123" : 42,
"B65196BB-EC7A-4446-82B9-77FCF4E66192" : 1337,
"75D5E4C5-3E72-4952-9E30-FDC32B719BB9" : 13371337,
"08C54497-EC18-4313-805D-45711DF75FC2" : 110
}
}
git clone https://github.com/corona-warn-app/cwa-app-android.git && cd cwa-app-android
time ./gradlew clean assembleDebug && java -version
BUILD SUCCESSFUL in 1m 56s
77 actionable tasks: 74 executed, 3 up-to-date
./gradlew clean assembleDebug 2,63s user 0,49s system 2% cpu 1:56,83 total
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode)
default 06:42:20.079256+0200 storeuid Receipt Validation (com.tapbots.TweetbotMac)
Signature Check: PASS
Bundle ID Check: PASS
Bundle Version Check: PASS
GUID Check: PASS
Expiration Check: PASS
default 06:42:20.079399+0200 storeuid <StoreKitClient: 0x7fbb6ff2d3e0>: Initializing client from bundle URL: file:///Applications/Tweetbot.app/
error 06:42:20.472393+0200 storeuid <StoreKitClient: 0x7fbb6ff2d3e0>: Cannot get apple ID from receipt /Applications/Tweetbot.app/Contents/_MASReceipt/receipt (null)
default 06:42:20.472619+0200 storelegacy StoreLegacy: Failed to perform in-line receipt renewal for application at path /Applications/Tweetbot.app : '(null)'
#!/bin/bash
cd ~
#check the latest from https://flutter.dev/docs/get-started/install/macos
wget https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_1.17.5-stable.zip
unzip flutter_macos_1.17.5-stable.zip
rm flutter_macos_1.17.5-stable.zip
{
"variables": [],
"info": {
"name": "groupm",
"_postman_id": "cfc3a5d8-927e-131b-f1e3-6b9f1e43620b",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
@falkorichter
falkorichter / androidJarTasks.gradle
Last active August 29, 2015 14:18
Add all kinds of Jar tasks to your project
def generateJavadocJar = project.task("generateJavadocJars"){
description "Generate all Javadoc Jars of all Variants"
group 'jar'
}
def generateJavadoc = project.task("generateJavadocs"){
description "Generate all Javadoc of all Variants"
group 'jar'
}
@falkorichter
falkorichter / AndroidManifest.xml
Last active August 29, 2015 14:17
custom name for debug buildType
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="${applicationLabel}">
<activity
android:label="${applicationLabel}">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>