-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare project for AdMob integration (#327)
* feat: add event handlers and adapters to deploy script, generate pom files * feat: edit pom files * fix(deploying): fix deploying of project with rendering Deploy script publishes rendering module as aar. Build script generates and saves aar files too. Fix Sonatype exception about javadoc and sources in OpenMeasument SDK. Fix possible exception in DemandFetcher. Move staging url to global build.gradle. * feat: make separate script for deploying Open Measurement SDK #318 * feat(AdMob): prepare project for AdMob integration #324 * feat(AdMob): corrected imports for staging releases
- Loading branch information
1 parent
fd7eef8
commit c76f77f
Showing
12 changed files
with
130 additions
and
9 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
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,23 @@ | ||
apply from: '../shared-rendering.gradle' | ||
apply from: 'publish-adapters.gradle' | ||
|
||
android { | ||
buildTypes { | ||
release { | ||
minifyEnabled true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
debug { | ||
minifyEnabled false | ||
} | ||
} | ||
defaultConfig { | ||
consumerProguardFiles file('proguard-rules.pro') | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation project(":PrebidMobile") | ||
|
||
implementation 'com.google.android.gms:play-services-ads:20.4.0' | ||
} |
Empty file.
23 changes: 23 additions & 0 deletions
23
PrebidMobile/PrebidMobile-admobAdapters/publish-adapters.gradle
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,23 @@ | ||
apply plugin: 'maven-publish' | ||
|
||
def ARTIFACT_ID = "prebid-mobile-sdk-admob-adapters" | ||
|
||
publishing { | ||
publications { | ||
eventHandler(MavenPublication) { | ||
artifactId "$ARTIFACT_ID" | ||
artifact "${project.buildDir}/outputs/aar/${project.name}-release.aar" | ||
version "$prebidVersionName" | ||
groupId "$artifactGroupId" | ||
} | ||
} | ||
|
||
// Using local repository for generated artifacts. | ||
repositories { | ||
maven { | ||
name = 'LocalArtifacts' | ||
url = "file://$artifactFolder" | ||
} | ||
} | ||
} | ||
|
1 change: 1 addition & 0 deletions
1
PrebidMobile/PrebidMobile-admobAdapters/src/main/AndroidManifest.xml
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 @@ | ||
<manifest package="org.prebid.mobile.admob.adapters"/> |
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,65 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.prebid</groupId> | ||
<artifactId>prebid-mobile-sdk-admob-adapters</artifactId> | ||
<version>1.13.0-beta2</version> | ||
|
||
<packaging>jar</packaging> | ||
<name>Prebid Mobile Android SDK</name> | ||
<description>Prebid Mobile</description> | ||
<url>https://www.prebid.org</url> | ||
|
||
<scm> | ||
<connection>scm:git:[email protected]:prebid/prebid-mobile-android.git</connection> | ||
<developerConnection>scm:git:[email protected]:prebid/prebid-mobile-android.git</developerConnection> | ||
<url>[email protected]:prebid/prebid-mobile-android.git</url> | ||
</scm> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>Postindustria AdTech Team</name> | ||
<email>[email protected]</email> | ||
<organization>Postindustria LTD</organization> | ||
<organizationUrl>https://postindustria.com/</organizationUrl> | ||
</developer> | ||
|
||
<developer> | ||
<name>AppNexus Mobile Team</name> | ||
<email>[email protected]</email> | ||
<organization>AppNexus, Inc.</organization> | ||
<organizationUrl>http://www.appnexus.com</organizationUrl> | ||
</developer> | ||
|
||
<developer> | ||
<name>RubiconProject Mobile Team</name> | ||
<email>sdk@https://rubiconproject.com/</email> | ||
<organization>The Rubicon Project, Inc.</organization> | ||
<organizationUrl>https://rubiconproject.com</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.prebid</groupId> | ||
<artifactId>prebid-mobile-sdk</artifactId> | ||
<version>1.13.0-beta2</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.android.gms</groupId> | ||
<artifactId>play-services-ads</artifactId> | ||
<version>20.4.0</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
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
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