apps/rebreak-native/.gitignore had bare `ios/` + `android/` patterns meant for the
Expo-prebuild output dirs — but with no leading slash they also matched
modules/rebreak-protection/{android,ios}, so the entire custom expo native module
(RebreakProtectionModule.kt, RebreakAccessibilityService.kt, RebreakVpnService.kt,
the DNS filter, the iOS NEFilter extension, podspec, ...) was never tracked. A
fresh clone / CI / `git clean` would lose it.
Anchor the prebuild patterns (`/ios/`, `/android/`), keep ignoring the module's
build artifacts (build/, .cxx/, .gradle/, Pods/), and commit the source.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
26 lines
448 B
Groovy
26 lines
448 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
id 'expo-module-gradle-plugin'
|
|
}
|
|
|
|
group = 'org.rebreak'
|
|
version = '0.1.0'
|
|
|
|
android {
|
|
namespace "expo.modules.rebreakprotection"
|
|
defaultConfig {
|
|
versionCode 1
|
|
versionName "0.1.0"
|
|
minSdkVersion 26
|
|
}
|
|
testOptions {
|
|
unitTests.returnDefaultValues = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "androidx.core:core-ktx:1.12.0"
|
|
testImplementation "junit:junit:4.13.2"
|
|
}
|