-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create ShopperInsights module and move files there. (#853)
* Create ShopperInsights module and move files there. * Add EOF line * Add README.md to the module * clean up dependencies * Refactor classes to standard package name * remove unused files * Modify release.yml to include newly created ShopperInsights module * Modify release_snapshot.yml to include newly created ShopperInsights module * remove example instrumented test * update dependencies * add dokka plugin to ShopperInsights module * removing readme
- Loading branch information
Showing
15 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
plugins { | ||
id 'com.android.library' | ||
id 'org.jetbrains.kotlin.android' | ||
id 'org.jetbrains.dokka' | ||
} | ||
|
||
android { | ||
namespace 'com.braintreepayments.api.shopperinsights' | ||
compileSdk rootProject.compileSdkVersion | ||
|
||
defaultConfig { | ||
minSdk rootProject.minSdkVersion | ||
targetSdkVersion rootProject.targetSdkVersion | ||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
testOptions { | ||
unitTests { | ||
includeAndroidResources = true | ||
all { | ||
jvmArgs '-noverify' | ||
} | ||
} | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility versions.javaSourceCompatibility | ||
targetCompatibility versions.javaTargetCompatibility | ||
} | ||
kotlinOptions { | ||
jvmTarget = '1.8' | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation deps.coreKtx | ||
|
||
testImplementation deps.jsonAssert | ||
testImplementation deps.kotlinTest | ||
testImplementation deps.mockk | ||
} | ||
|
||
// region signing and publishing | ||
|
||
project.ext.name = "shopper-insights" | ||
project.ext.pom_name = "shopper-insights" | ||
project.ext.group_id = "com.braintreepayments.api" | ||
project.ext.version = rootProject.version | ||
project.ext.pom_desc = "Shopper Insights for Braintree Android." | ||
|
||
apply from: rootProject.file("gradle/gradle-publish.gradle") | ||
|
||
// endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
</manifest> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters