-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from aminekarimii/feature/improve-oss-publish-…
…script Optimize OSS publish script
- Loading branch information
Showing
10 changed files
with
30 additions
and
129 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,23 +4,7 @@ plugins { | |
} | ||
|
||
ext { | ||
PUBLISH_GROUP_ID = 'io.github.aminekarimii' | ||
PUBLISH_VERSION = '1.1.0' | ||
PUBLISH_ARTIFACT_ID = 'analytiks-addon-appvisor' | ||
PUBLISH_DESCRIPTION = 'Analytics SDK' | ||
PUBLISH_URL = 'https://github.com/aminekarimii/analytiks' | ||
PUBLISH_LICENSE_NAME = 'Apache 2.0 License' | ||
PUBLISH_LICENSE_URL = | ||
'https://github.com/aminekarimii/analytiks/blob/dev/LICENSE' | ||
PUBLISH_DEVELOPER_ID = 'aminekarimii' | ||
PUBLISH_DEVELOPER_NAME = 'Amine Karimi' | ||
PUBLISH_DEVELOPER_EMAIL = '[email protected]' | ||
PUBLISH_SCM_CONNECTION = | ||
'scm:git:github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_DEVELOPER_CONNECTION = | ||
'scm:git:ssh://github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_URL = | ||
'https://github.com/aminekarimii/analytiks/tree/master' | ||
} | ||
apply from: "${rootProject.projectDir}/scripts/publish-module.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 |
---|---|---|
|
@@ -2,25 +2,11 @@ plugins { | |
id 'com.android.library' | ||
id 'org.jetbrains.kotlin.android' | ||
} | ||
|
||
ext { | ||
PUBLISH_GROUP_ID = 'io.github.aminekarimii' | ||
PUBLISH_VERSION = '1.0.0' | ||
PUBLISH_ARTIFACT_ID = 'analytiks-addon-azureinsight' | ||
PUBLISH_DESCRIPTION = 'Analytics SDK' | ||
PUBLISH_URL = 'https://github.com/aminekarimii/analytiks' | ||
PUBLISH_LICENSE_NAME = 'Apache 2.0 License' | ||
PUBLISH_LICENSE_URL = | ||
'https://github.com/aminekarimii/analytiks/blob/dev/LICENSE' | ||
PUBLISH_DEVELOPER_ID = 'aminekarimii' | ||
PUBLISH_DEVELOPER_NAME = 'Amine Karimi' | ||
PUBLISH_DEVELOPER_EMAIL = '[email protected]' | ||
PUBLISH_SCM_CONNECTION = | ||
'scm:git:github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_DEVELOPER_CONNECTION = | ||
'scm:git:ssh://github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_URL = | ||
'https://github.com/aminekarimii/analytiks/tree/master' | ||
} | ||
|
||
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle" | ||
|
||
android { | ||
|
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 |
---|---|---|
|
@@ -2,25 +2,11 @@ plugins { | |
id 'com.android.library' | ||
id 'org.jetbrains.kotlin.android' | ||
} | ||
|
||
ext { | ||
PUBLISH_GROUP_ID = 'io.github.aminekarimii' | ||
PUBLISH_VERSION = '1.0.0' | ||
PUBLISH_ARTIFACT_ID = 'analytiks-addon-googleanalytics' | ||
PUBLISH_DESCRIPTION = 'Analytics SDK' | ||
PUBLISH_URL = 'https://github.com/aminekarimii/analytiks' | ||
PUBLISH_LICENSE_NAME = 'Apache 2.0 License' | ||
PUBLISH_LICENSE_URL = | ||
'https://github.com/aminekarimii/analytiks/blob/dev/LICENSE' | ||
PUBLISH_DEVELOPER_ID = 'aminekarimii' | ||
PUBLISH_DEVELOPER_NAME = 'Amine Karimi' | ||
PUBLISH_DEVELOPER_EMAIL = '[email protected]' | ||
PUBLISH_SCM_CONNECTION = | ||
'scm:git:github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_DEVELOPER_CONNECTION = | ||
'scm:git:ssh://github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_URL = | ||
'https://github.com/aminekarimii/analytiks/tree/master' | ||
} | ||
|
||
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle" | ||
|
||
android { | ||
|
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 |
---|---|---|
|
@@ -2,25 +2,11 @@ plugins { | |
id 'com.android.library' | ||
id 'org.jetbrains.kotlin.android' | ||
} | ||
|
||
ext { | ||
PUBLISH_GROUP_ID = 'io.github.aminekarimii' | ||
PUBLISH_VERSION = '1.0.0' | ||
PUBLISH_ARTIFACT_ID = 'analytiks-addon-mixpanel' | ||
PUBLISH_DESCRIPTION = 'Analytics SDK' | ||
PUBLISH_URL = 'https://github.com/aminekarimii/analytiks' | ||
PUBLISH_LICENSE_NAME = 'Apache 2.0 License' | ||
PUBLISH_LICENSE_URL = | ||
'https://github.com/aminekarimii/analytiks/blob/dev/LICENSE' | ||
PUBLISH_DEVELOPER_ID = 'aminekarimii' | ||
PUBLISH_DEVELOPER_NAME = 'Amine Karimi' | ||
PUBLISH_DEVELOPER_EMAIL = '[email protected]' | ||
PUBLISH_SCM_CONNECTION = | ||
'scm:git:github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_DEVELOPER_CONNECTION = | ||
'scm:git:ssh://github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_URL = | ||
'https://github.com/aminekarimii/analytiks/tree/master' | ||
} | ||
|
||
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle" | ||
|
||
android { | ||
|
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 |
---|---|---|
|
@@ -2,25 +2,11 @@ plugins { | |
id 'com.android.library' | ||
id 'org.jetbrains.kotlin.android' | ||
} | ||
|
||
ext { | ||
PUBLISH_GROUP_ID = 'io.github.aminekarimii' | ||
PUBLISH_VERSION = '1.0.0' | ||
PUBLISH_ARTIFACT_ID = 'analytiks-addon-segment' | ||
PUBLISH_DESCRIPTION = 'Analytics SDK' | ||
PUBLISH_URL = 'https://github.com/aminekarimii/analytiks' | ||
PUBLISH_LICENSE_NAME = 'Apache 2.0 License' | ||
PUBLISH_LICENSE_URL = | ||
'https://github.com/aminekarimii/analytiks/blob/dev/LICENSE' | ||
PUBLISH_DEVELOPER_ID = 'aminekarimii' | ||
PUBLISH_DEVELOPER_NAME = 'Amine Karimi' | ||
PUBLISH_DEVELOPER_EMAIL = '[email protected]' | ||
PUBLISH_SCM_CONNECTION = | ||
'scm:git:github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_DEVELOPER_CONNECTION = | ||
'scm:git:ssh://github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_URL = | ||
'https://github.com/aminekarimii/analytiks/tree/master' | ||
} | ||
|
||
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle" | ||
|
||
android { | ||
|
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 |
---|---|---|
|
@@ -3,23 +3,7 @@ plugins { | |
id 'org.jetbrains.kotlin.android' | ||
} | ||
ext { | ||
PUBLISH_GROUP_ID = 'io.github.aminekarimii' | ||
PUBLISH_VERSION = '1.0.0' | ||
PUBLISH_ARTIFACT_ID = 'analytiks-addon-timber' | ||
PUBLISH_DESCRIPTION = 'Analytics SDK' | ||
PUBLISH_URL = 'https://github.com/aminekarimii/analytiks' | ||
PUBLISH_LICENSE_NAME = 'Apache 2.0 License' | ||
PUBLISH_LICENSE_URL = | ||
'https://github.com/aminekarimii/analytiks/blob/dev/LICENSE' | ||
PUBLISH_DEVELOPER_ID = 'aminekarimii' | ||
PUBLISH_DEVELOPER_NAME = 'Amine Karimi' | ||
PUBLISH_DEVELOPER_EMAIL = '[email protected]' | ||
PUBLISH_SCM_CONNECTION = | ||
'scm:git:github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_DEVELOPER_CONNECTION = | ||
'scm:git:ssh://github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_URL = | ||
'https://github.com/aminekarimii/analytiks/tree/master' | ||
} | ||
apply from: "${rootProject.projectDir}/scripts/publish-module.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 |
---|---|---|
|
@@ -3,23 +3,7 @@ plugins { | |
id 'org.jetbrains.kotlin.android' | ||
} | ||
ext { | ||
PUBLISH_GROUP_ID = 'io.github.aminekarimii' | ||
PUBLISH_VERSION = '1.0.0' | ||
PUBLISH_ARTIFACT_ID = 'analytiks-core' | ||
PUBLISH_DESCRIPTION = 'Analytics Core SDK' | ||
PUBLISH_URL = 'https://github.com/aminekarimii/analytiks' | ||
PUBLISH_LICENSE_NAME = 'Apache 2.0 License' | ||
PUBLISH_LICENSE_URL = | ||
'https://github.com/aminekarimii/analytiks/blob/dev/LICENSE' | ||
PUBLISH_DEVELOPER_ID = 'aminekarimii' | ||
PUBLISH_DEVELOPER_NAME = 'Amine Karimi' | ||
PUBLISH_DEVELOPER_EMAIL = '[email protected]' | ||
PUBLISH_SCM_CONNECTION = | ||
'scm:git:github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_DEVELOPER_CONNECTION = | ||
'scm:git:ssh://github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_URL = | ||
'https://github.com/aminekarimii/analytiks/tree/master' | ||
} | ||
apply from: "${rootProject.projectDir}/scripts/publish-module.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 |
---|---|---|
|
@@ -4,24 +4,9 @@ plugins { | |
} | ||
|
||
ext { | ||
PUBLISH_GROUP_ID = 'io.github.aminekarimii' | ||
PUBLISH_VERSION = '1.0.0' | ||
PUBLISH_ARTIFACT_ID = 'analytiks' | ||
PUBLISH_DESCRIPTION = 'Analytics SDK' | ||
PUBLISH_URL = 'https://github.com/aminekarimii/analytiks' | ||
PUBLISH_LICENSE_NAME = 'Apache 2.0 License' | ||
PUBLISH_LICENSE_URL = | ||
'https://github.com/aminekarimii/analytiks/blob/dev/LICENSE' | ||
PUBLISH_DEVELOPER_ID = 'aminekarimii' | ||
PUBLISH_DEVELOPER_NAME = 'Amine Karimi' | ||
PUBLISH_DEVELOPER_EMAIL = '[email protected]' | ||
PUBLISH_SCM_CONNECTION = | ||
'scm:git:github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_DEVELOPER_CONNECTION = | ||
'scm:git:ssh://github.com/aminekarimii/analytiks.git' | ||
PUBLISH_SCM_URL = | ||
'https://github.com/aminekarimii/analytiks/tree/master' | ||
} | ||
|
||
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle" | ||
|
||
android { | ||
|
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 |
---|---|---|
|
@@ -21,4 +21,18 @@ kotlin.code.style=official | |
# resources declared in the library itself and none from the library's dependencies, | ||
# thereby reducing the size of the R class for that library | ||
android.nonTransitiveRClass=true | ||
android.enableJetifier=true | ||
android.enableJetifier=true | ||
# Top-level build file where you can add configuration options common to | ||
# all sub-projects/modules. | ||
PUBLISH_GROUP_ID=io.github.aminekarimii | ||
PUBLISH_VERSION=1.1.0 | ||
PUBLISH_DESCRIPTION=Analytics SDK | ||
PUBLISH_URL=https://github.com/aminekarimii/analytiks | ||
PUBLISH_LICENSE_NAME=Apache 2.0 License | ||
PUBLISH_LICENSE_URL=https://github.com/aminekarimii/analytiks/blob/dev/LICENSE | ||
PUBLISH_DEVELOPER_ID=aminekarimii | ||
PUBLISH_DEVELOPER_NAME=Amine Karimi | ||
PUBLISH_DEVELOPER_EMAIL=[email protected] | ||
PUBLISH_SCM_CONNECTION=scm:git:github.com/aminekarimii/analytiks.git | ||
PUBLISH_SCM_DEVELOPER_CONNECTION=scm:git:ssh://github.com/aminekarimii/analytiks.git | ||
PUBLISH_SCM_URL=https://github.com/aminekarimii/analytiks/tree/master |