mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
Logseq-like outliner (render/edit Markdown per block, Enter/Tab/Shift-Tab, backspace merge, arrow navigation, drag to reorder, collapse, [[ # (( autocomplete, TODO/DONE), journals feed with prev/next links, page view with linked references and related panel, virtualised CustomPainter timeline, Ctrl+K quick switcher, sidebar with recents, light/dark theme with bundled Inter, Noto Serif and Source Code Pro. Edits are optimistic and serialised to the core through one write queue. Cargokit builds synapse-ffi; its build tool is patched to use the library name (synapse_ffi) of hyphenated crates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
57 lines
1.3 KiB
Groovy
57 lines
1.3 KiB
Groovy
// The Android Gradle Plugin builds the native code with the Android NDK.
|
|
|
|
group 'com.flutter_rust_bridge.synapse_ffi'
|
|
version '1.0'
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// The Android Gradle Plugin knows how to build native code with the NDK.
|
|
classpath 'com.android.tools.build:gradle:7.3.0'
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
if (project.android.hasProperty("namespace")) {
|
|
namespace 'com.flutter_rust_bridge.synapse_ffi'
|
|
}
|
|
|
|
// Bumping the plugin compileSdkVersion requires all clients of this plugin
|
|
// to bump the version in their app.
|
|
compileSdkVersion 36
|
|
|
|
// Use the NDK version
|
|
// declared in /android/app/build.gradle file of the Flutter project.
|
|
// Replace it with a version number if this plugin requires a specfic NDK version.
|
|
// (e.g. ndkVersion "23.1.7779620")
|
|
ndkVersion android.ndkVersion
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 19
|
|
}
|
|
}
|
|
|
|
apply from: "../cargokit/gradle/plugin.gradle"
|
|
cargokit {
|
|
manifestDir = "../../../crates/synapse-ffi"
|
|
libname = "synapse_ffi"
|
|
}
|