diff --git a/provision/.gitignore b/provision/.gitignore new file mode 100644 index 000000000..42afabfd2 --- /dev/null +++ b/provision/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/provision/build.gradle.kts b/provision/build.gradle.kts new file mode 100644 index 000000000..1d27d2c9a --- /dev/null +++ b/provision/build.gradle.kts @@ -0,0 +1,33 @@ +plugins { + alias(libs.plugins.android.library) +} + +android { + namespace = "com.sevtinge.provision" + compileSdk = 35 + + defaultConfig { + minSdk = 33 + + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + consumerProguardFiles("consumer-rules.pro") + } + + buildTypes { + release { + isMinifyEnabled = false + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + } + } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_22 + targetCompatibility = JavaVersion.VERSION_22 + } +} + +dependencies { + +} \ No newline at end of file diff --git a/provision/consumer-rules.pro b/provision/consumer-rules.pro new file mode 100644 index 000000000..e69de29bb diff --git a/provision/proguard-rules.pro b/provision/proguard-rules.pro new file mode 100644 index 000000000..481bb4348 --- /dev/null +++ b/provision/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/provision/src/main/AndroidManifest.xml b/provision/src/main/AndroidManifest.xml new file mode 100644 index 000000000..a5918e68a --- /dev/null +++ b/provision/src/main/AndroidManifest.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file