Skip to content

Commit 629e20e

Browse files
authored
feat: Migrate Adobe 5 kit (#670)
* feat: migrate adobe-kit from submodule to regular directory * feat: relocate adobe-kit to kits/adobe/adobe-5 Made-with: Cursor * feat: add adobe-5 to settings-kits.gradle Made-with: Cursor
1 parent 7dbbdb9 commit 629e20e

19 files changed

Lines changed: 923 additions & 5 deletions

File tree

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "kits/adobe-kit"]
2-
path = kits/adobe-kit
3-
url = git@github.com:mparticle-integrations/mparticle-android-integration-adobe.git
41
[submodule "kits/apteligent-kit"]
52
path = kits/apteligent-kit
63
url = git@github.com:mParticle-integrations/mparticle-android-integration-apteligent.git

.trunk/trunk.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ lint:
8080
- kits/rokt/rokt/**
8181
- kits/localytics/localytics-6/**
8282
- kits/rokt/rokt/**
83+
- kits/adobe/adobe-5/**
8384
- kits/adobemedia/adobemedia-5/**
8485
actions:
8586
enabled:

kits/adobe-kit

Lines changed: 0 additions & 1 deletion
This file was deleted.

kits/adobe/adobe-5/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Adobe Kit Integration
2+
3+
This repository contains the Adobe integration for the [mParticle Android SDK](https://github.com/mParticle/mparticle-android-sdk).
4+
5+
### Adding the integration
6+
7+
1. Add the kit dependency to your app's build.gradle:
8+
9+
```groovy
10+
dependencies {
11+
implementation 'com.mparticle:android-adobe-kit:5+'
12+
}
13+
```
14+
2. Follow the mParticle Android SDK [quick-start](https://github.com/mParticle/mparticle-android-sdk), then rebuild and launch your app, and verify that you see `"Adobe detected"` in the output of `adb logcat`.
15+
3. Reference mParticle's integration docs below to enable the integration.
16+
4. Reference Adobe's integration doc below for more features.
17+
18+
### Documentation
19+
20+
[Adobe integration](https://docs.mparticle.com/integrations/amc/event/)
21+
22+
### License
23+
24+
[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)

kits/adobe/adobe-5/build.gradle

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
buildscript {
2+
ext.kotlin_version = '2.0.20'
3+
if (!project.hasProperty('version') || project.version.equals('unspecified')) {
4+
project.version = '+'
5+
}
6+
7+
repositories {
8+
google()
9+
mavenLocal()
10+
mavenCentral()
11+
}
12+
dependencies {
13+
classpath 'com.android.tools.build:gradle:8.1.4'
14+
classpath 'com.mparticle:android-kit-plugin:' + project.version
15+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
16+
}
17+
}
18+
19+
plugins {
20+
id "org.sonarqube" version "3.5.0.2730"
21+
id "org.jlleitschuh.gradle.ktlint" version "13.0.0"
22+
}
23+
24+
sonarqube {
25+
properties {
26+
property "sonar.projectKey", "mparticle-android-integration-adobe"
27+
property "sonar.organization", "mparticle"
28+
property "sonar.host.url", "https://sonarcloud.io"
29+
}
30+
}
31+
32+
apply plugin: 'org.jlleitschuh.gradle.ktlint'
33+
apply plugin: 'kotlin-android'
34+
apply plugin: 'com.mparticle.kit'
35+
36+
android {
37+
namespace 'com.mparticle.kits.adjustkit'
38+
defaultConfig {
39+
minSdkVersion 16
40+
}
41+
buildFeatures {
42+
buildConfig = true
43+
}
44+
compileOptions {
45+
sourceCompatibility JavaVersion.VERSION_17
46+
targetCompatibility JavaVersion.VERSION_17
47+
}
48+
kotlinOptions {
49+
jvmTarget = '17'
50+
}
51+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /Users/wpassidomo/Library/Android/sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
18+
19+
# Uncomment this to preserve the line number information for
20+
# debugging stack traces.
21+
#-keepattributes SourceFile,LineNumberTable
22+
23+
# If you keep the line number information, uncomment this to
24+
# hide the original source file name.
25+
#-renamesourcefileattribute SourceFile
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
android.enableJetifier=true
2+
android.useAndroidX=true
3+
org.gradle.daemon=true
4+
org.gradle.jvmargs=-Xmx2560m
58.4 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

kits/adobe/adobe-5/gradlew

Lines changed: 234 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)