Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference 5.1.0.1.0 #51

Merged
merged 12 commits into from
Aug 1, 2024
4 changes: 2 additions & 2 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: gradle

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: gradle

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: gradle

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Note the first digit of every adapter version corresponds to the major version of the Chartboost Mediation SDK compatible with that adapter.
Adapters are compatible with any Chartboost Mediation SDK version within that major version.

### 5.1.0.1.0
- This version of the adapter supports Chartboost Mediation SDK version 5.+.

### 4.1.0.1.2
- Added setting to return oversized banner ads.

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Follow these guides to create a detailed and effective report for us to understa
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened.

### Pull Requests
In order to submit pull requests, you are required to review and sign the [Contribution License Agreement (CLA)](https://developers.chartboost.com/docs/mediation-contribution-license-agreement) which is available on the Chartboost website to view. Once you have read the agreement, sign the appropriate form depending on whether you are an individual an employer contributor.
In order to submit pull requests, you are required to review and sign the [Contribution License Agreement (CLA)](https://docs.chartboost.com/en/partners/contribution-license-agreement/) which is available on the Chartboost website to view. Once you have read the agreement, sign the appropriate form depending on whether you are an individual an employer contributor.

- [Individual contributor license agreement form](https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=159c66e8-610c-4afc-9330-15bc2217c291&env=na3&acct=9c982e12-8675-45df-9d81-95fe3656e695&v=2).
_You wish to contribute on your own behalf as an individual._
Expand All @@ -43,7 +43,7 @@ _You wish to contribute on behalf of your employer._
#### Submitting a Pull Request
Follow these steps to have your contribution considered by the maintainers:

1. Review and sign the [Contribution License Agreement (CLA)](https://developers.chartboost.com/docs/mediation-contribution-license-agreement).
1. Review and sign the [Contribution License Agreement (CLA)](https://docs.chartboost.com/en/partners/contribution-license-agreement/).
2. Identify the issue related to your fix. If an issue doesn't exist, then create a new issue.
3. Create a pull request.
4. Format the title starting with the issue number, followed by a brief description of the fox. _Example: `[ISSUE-60] Fix null pointer exception`._
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ The Chartboost Mediation Reference adapter mediates the Reference SDK via the Ch
## Minimum Requirements

| Plugin | Version |
| ------------------------ | ------- |
| Chartboost Mediation SDK | 4.0.0+ |
| ------------------------ |---------|
| Chartboost Mediation SDK | 5.0.0+ |
| Android API | 21+ |

## Integration

In your `build.gradle`, add the following entry:
```
implementation "com.chartboost:chartboost-mediation-adapter-reference:4.1.0.1.2"
implementation "com.chartboost:chartboost-mediation-adapter-reference:5.1.0.1.0"
```

## Chartboost Mediation Custom Adapter Implementation Guidelines
Expand Down
31 changes: 25 additions & 6 deletions ReferenceAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2022-2024 Chartboost, Inc.
*
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file.
*/
Expand All @@ -17,24 +17,31 @@ plugins {
repositories {
google()
mavenCentral()
maven("https://cboost.jfrog.io/artifactory/private-chartboost-core/") {
credentials {
username = System.getenv("JFROG_USER")
password = System.getenv("JFROG_PASS")
}
}
maven("https://cboost.jfrog.io/artifactory/private-chartboost-mediation/") {
credentials {
username = System.getenv("JFROG_USER")
password = System.getenv("JFROG_PASS")
}
}
maven("https://cboost.jfrog.io/artifactory/chartboost-core/")
maven("https://cboost.jfrog.io/artifactory/chartboost-mediation/")
}

android {
namespace = "com.chartboost.mediation.referenceadapter"
compileSdk = 33
compileSdk = 34

defaultConfig {
minSdk = 21
targetSdk = 33
targetSdk = 34
// If you touch the following line, don't forget to update scripts/get_rc_version.zsh
android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "4.1.0.1.2"
android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "5.1.0.1.0"
buildConfigField("String", "CHARTBOOST_MEDIATION_REFERENCE_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"")

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -44,6 +51,7 @@ android {
productFlavors {
create("local")
create("remote")
create("candidate")
}

buildTypes {
Expand All @@ -58,15 +66,26 @@ android {

buildFeatures {
viewBinding = true
buildConfig = true
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = "17"
}
}

dependencies {
"localImplementation"(project(":Helium"))
"localImplementation"(project(":ChartboostMediation"))

// For external usage, please use the following production dependency.
// You may choose a different release version.
"remoteImplementation"("com.chartboost:chartboost-mediation-sdk:4.0.0")
"remoteImplementation"("com.chartboost:chartboost-mediation-sdk:5.0.0")
"candidateImplementation"("com.chartboost:chartboost-mediation-sdk:5.0.0")

// Reference Partner
implementation("androidx.activity:activity-ktx:1.6.1")
Expand Down
Loading
Loading