Add empty omnipod-common module
This commit is contained in:
parent
9d21338f10
commit
2a38578439
|
@ -239,6 +239,7 @@ dependencies {
|
||||||
implementation project(':danar')
|
implementation project(':danar')
|
||||||
implementation project(':rileylink')
|
implementation project(':rileylink')
|
||||||
implementation project(':medtronic')
|
implementation project(':medtronic')
|
||||||
|
implementation project(':omnipod-common')
|
||||||
implementation project(':omnipod-eros')
|
implementation project(':omnipod-eros')
|
||||||
implementation project(':omnipod-dash')
|
implementation project(':omnipod-dash')
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@ files:
|
||||||
translation: /dana/src/main/res/values-%android_code%/strings.xml
|
translation: /dana/src/main/res/values-%android_code%/strings.xml
|
||||||
- source: /medtronic/src/main/res/values/strings.xml
|
- source: /medtronic/src/main/res/values/strings.xml
|
||||||
translation: /medtronic/src/main/res/values-%android_code%/strings.xml
|
translation: /medtronic/src/main/res/values-%android_code%/strings.xml
|
||||||
|
- source: /omnipod-common/src/main/res/values/strings.xml
|
||||||
|
translation: /omnipod-common/src/main/res/values-%android_code%/strings.xml
|
||||||
- source: /omnipod-dash/src/main/res/values/strings.xml
|
- source: /omnipod-dash/src/main/res/values/strings.xml
|
||||||
translation: /omnipod-dash/src/main/res/values-%android_code%/strings.xml
|
translation: /omnipod-dash/src/main/res/values-%android_code%/strings.xml
|
||||||
- source: /omnipod-eros/src/main/res/values/strings.xml
|
- source: /omnipod-eros/src/main/res/values/strings.xml
|
||||||
|
|
1
omnipod-common/.gitignore
vendored
Normal file
1
omnipod-common/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/build
|
50
omnipod-common/build.gradle
Normal file
50
omnipod-common/build.gradle
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
apply plugin: 'com.android.library'
|
||||||
|
apply plugin: 'kotlin-android'
|
||||||
|
apply plugin: 'kotlin-kapt'
|
||||||
|
|
||||||
|
android {
|
||||||
|
compileSdkVersion 28
|
||||||
|
|
||||||
|
defaultConfig {
|
||||||
|
minSdkVersion 24
|
||||||
|
targetSdkVersion 28
|
||||||
|
versionCode 1
|
||||||
|
versionName "1.0"
|
||||||
|
|
||||||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
consumerProguardFiles "consumer-rules.pro"
|
||||||
|
}
|
||||||
|
|
||||||
|
kotlinOptions {
|
||||||
|
jvmTarget = '1.8'
|
||||||
|
}
|
||||||
|
|
||||||
|
buildTypes {
|
||||||
|
release {
|
||||||
|
minifyEnabled false
|
||||||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
|
}
|
||||||
|
debug {
|
||||||
|
testCoverageEnabled(project.hasProperty('coverage'))
|
||||||
|
}
|
||||||
|
firebaseDisable {
|
||||||
|
System.setProperty("disableFirebase", "true")
|
||||||
|
ext.enableCrashlytics = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation project(':core')
|
||||||
|
|
||||||
|
annotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
|
||||||
|
annotationProcessor "com.google.dagger:dagger-android-processor:$dagger_version"
|
||||||
|
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
|
||||||
|
kapt "com.google.dagger:dagger-compiler:$dagger_version"
|
||||||
|
testImplementation "junit:junit:$junit_version"
|
||||||
|
androidTestImplementation "androidx.test.ext:junit:$androidx_junit"
|
||||||
|
}
|
0
omnipod-common/consumer-rules.pro
Normal file
0
omnipod-common/consumer-rules.pro
Normal file
21
omnipod-common/proguard-rules.pro
vendored
Normal file
21
omnipod-common/proguard-rules.pro
vendored
Normal file
|
@ -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
|
5
omnipod-common/src/main/AndroidManifest.xml
Normal file
5
omnipod-common/src/main/AndroidManifest.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="info.nightscout.androidaps.plugins.pump.omnipod.common">
|
||||||
|
|
||||||
|
</manifest>
|
|
@ -0,0 +1,4 @@
|
||||||
|
package info.nightscout.androidaps.plugins.pump.omnipod.common;
|
||||||
|
|
||||||
|
public class PlaceHolder {
|
||||||
|
}
|
|
@ -40,6 +40,7 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':core')
|
implementation project(':core')
|
||||||
|
implementation project(':omnipod-common')
|
||||||
|
|
||||||
annotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
|
annotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
|
||||||
annotationProcessor "com.google.dagger:dagger-android-processor:$dagger_version"
|
annotationProcessor "com.google.dagger:dagger-android-processor:$dagger_version"
|
||||||
|
|
|
@ -43,6 +43,7 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':core')
|
implementation project(':core')
|
||||||
|
implementation project(':omnipod-common')
|
||||||
implementation project(':rileylink')
|
implementation project(':rileylink')
|
||||||
|
|
||||||
annotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
|
annotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
include ':app', ':database', ':wear', ':core', ':dana', ':danar', ':danars', ':rileylink', ':medtronic', ':omnipod-eros', ':omnipod-dash'
|
include ':app', ':database', ':wear', ':core', ':dana', ':danar', ':danars', ':rileylink', ':medtronic', ':omnipod-common', ':omnipod-eros', ':omnipod-dash'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue