-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Maven publishing to use the new Gradle plugin
- Loading branch information
1 parent
318385c
commit c20942d
Showing
6 changed files
with
54 additions
and
67 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 |
---|---|---|
|
@@ -13,6 +13,13 @@ android { | |
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
publishing { | ||
multipleVariants { | ||
allVariants() | ||
withJavadocJar() | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
|
@@ -39,24 +46,8 @@ dependencies { | |
} | ||
|
||
ext { | ||
publishedGroupId = 'com.iterable' | ||
libraryName = 'iterableapi-ui' | ||
artifact = 'iterableapi-ui' | ||
|
||
libraryDescription = 'Iterable Android SDK - UI' | ||
|
||
siteUrl = 'https://github.com/Iterable/iterable-android-sdk' | ||
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git' | ||
|
||
libraryVersion = '3.4.17' | ||
|
||
developerId = 'davidtruong' | ||
developerName = 'David Truong' | ||
developerEmail = '[email protected]' | ||
|
||
licenseName = 'The Apache Software License, Version 2.0' | ||
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
allLicenses = ["Apache-2.0"] | ||
} | ||
|
||
if (hasProperty("mavenPublishEnabled")) { | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ apply plugin: 'checkstyle' | |
|
||
android { | ||
compileSdkVersion 33 | ||
buildToolsVersion '30.0.3' | ||
buildToolsVersion '33.0.2' | ||
|
||
namespace 'com.iterable.iterableapi' | ||
testNamespace 'iterable.com.iterableapi' | ||
|
@@ -24,6 +24,13 @@ android { | |
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
publishing { | ||
multipleVariants { | ||
allVariants() | ||
withJavadocJar() | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
|
@@ -75,24 +82,8 @@ dependencies { | |
} | ||
|
||
ext { | ||
publishedGroupId = 'com.iterable' | ||
libraryName = 'iterableapi' | ||
artifact = 'iterableapi' | ||
|
||
libraryDescription = 'Iterable Android SDK' | ||
|
||
siteUrl = 'https://github.com/Iterable/iterable-android-sdk' | ||
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git' | ||
|
||
libraryVersion = '3.4.17' | ||
|
||
developerId = 'davidtruong' | ||
developerName = 'David Truong' | ||
developerEmail = '[email protected]' | ||
|
||
licenseName = 'The Apache Software License, Version 2.0' | ||
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
allLicenses = ["Apache-2.0"] | ||
} | ||
|
||
if (hasProperty("mavenPublishEnabled")) { | ||
|
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