Skip to content

Instantly share code, notes, and snippets.

View madisp's full-sized avatar
🔆

Madis Pink madisp

🔆
View GitHub Profile
@mraleph
mraleph / ffi.md
Last active November 11, 2023 14:44

Dart VM FFI Vision

Background

The aim of Dart FFI project (tracked as Issue #34452) is to provide a low boilerplate, low ceremony & low overhead way of interoperating with native C/C++ code.

The motivation behind this project is twofold:

@FuegoFro
FuegoFro / download_android_gradle_plugin_srcs.py
Created November 20, 2017 18:15
A script to download the `-sources.jar`s for an Android Gradle Plugin version.
#!/usr/bin/env python3
import argparse
import shutil
import zipfile
from pathlib import Path
from tempfile import NamedTemporaryFile
from xml.etree import ElementTree
import requests
@mfremont
mfremont / build.gradle
Created February 18, 2014 15:20
Example build.gradle for a unit test submodule in an Android project.
/**
* Example build descriptor that builds and runs Robolectric unit tests in src/test for an Android
* app project in the 'app' module of the project.
*/
apply plugin: 'java'
test {
// Robolectric expects to find AndroidManifest.xml and res/ in the working directory
workingDir androidManifestDir(project(':app'), 'main')