Skip to content

Commit

Permalink
Clean up MarketingKit
Browse files Browse the repository at this point in the history
Summary: As title

Reviewed By: tianqibt

Differential Revision: D21961922

fbshipit-source-id: 5d62f6d890720d3917934e0955a576696f900cbd
  • Loading branch information
KylinChang authored and facebook-github-bot committed Jun 10, 2020
1 parent 7cd35e2 commit 6b394ba
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion facebook/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ dependencies {
api project(":facebook-applinks")
api project(":facebook-messenger")
api project(":facebook-gamingservices")
// @fb-only: api project(":facebook-marketing")

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_ver"
// Unit Tests
Expand Down
11 changes: 0 additions & 11 deletions maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,6 @@ uploadArchives {
}
}
}

// Mark facebook-marketing deprecated
if (project.ext.artifactId == 'facebook-marketing') {
pom.withXml {
def relocation = asNode().appendNode('distributionManagement').appendNode('relocation')
relocation.appendNode('groupId', project.group)
relocation.appendNode('artifactId', 'facebook-core')
relocation.appendNode('version', project.version)
relocation.appendNode('message', 'facebook-marketing is migrated to facebook-core')
}
}
}
}

Expand Down
3 changes: 1 addition & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
// Facebook SDK
include ':facebook-core'
include ':facebook-common', ':facebook-login', ':facebook-share', ':facebook-places', ':facebook-applinks', ':facebook-messenger'
// @fb-only: include ':facebook-marketing'
// @fb-only: include ':facebook-livestreaming'
// @fb-only: include ':facebook-beta'
include ':facebook-gamingservices'
Expand All @@ -46,4 +45,4 @@ if (file('internal/internal-settings.gradle').exists()) {
if (file('local.gradle').exists()) {
apply from: 'local.gradle'
}
// @fb-only: project(':facebook-beta').projectDir = new File('internal/facebook-beta')
// @fb-only: project(':facebook-beta').projectDir = new File('internal/facebook-beta')

0 comments on commit 6b394ba

Please sign in to comment.