Created
September 4, 2018 08:48
-
-
Save madsunrise/3bf52b14406d1c4533327cb7fcc1e66d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| apply plugin: 'groovy' | |
| apply plugin: 'java' | |
| apply plugin: 'maven' | |
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| jcenter() | |
| maven { url 'https://maven.google.com' } | |
| } | |
| dependencies { | |
| classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' | |
| } | |
| } | |
| repositories { | |
| mavenCentral() | |
| mavenLocal() | |
| maven { url 'https://maven.google.com' } | |
| maven { url 'https://is-artifactory.corp.mail.ru/artifactory/repo' } | |
| } | |
| def getReleaseRepositoryUrl() { | |
| return hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL | |
| : "${artifactory_contextUrl}" | |
| } | |
| def getSnapshotRepositoryUrl() { | |
| return hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL | |
| : "${artifactory_contextUrl}" | |
| } | |
| dependencies { | |
| implementation 'com.darylteo.gradle:javassist-plugin:0.4.0' | |
| implementation 'com.github.stephanenicolas.morpheus:morpheus-commons:1.0.7' | |
| implementation gradleApi() | |
| implementation localGroovy() | |
| implementation('com.android.tools.build:gradle:3.0.1') { exclude module: 'httpclient'} | |
| implementation ('org.apache.httpcomponents:httpclient:4.3.3') | |
| implementation ('org.apache.httpcomponents:httpcore:4.3.3') | |
| implementation ('org.apache.httpcomponents:httpmime:4.3.3') | |
| implementation project(':inject-analytics_analytics-annotations') | |
| implementation 'org.projectlombok:lombok:1.14.2' | |
| implementation 'com.google.android:android:4.1.1.4' | |
| } | |
| /*uploadArchives{ | |
| repositories.mavenDeployer{ | |
| repository(url: getReleaseRepositoryUrl()) { | |
| authentication(userName: "${artifactory_user}", password: "${artifactory_password}") | |
| } | |
| snapshotRepository(url: getSnapshotRepositoryUrl()) { | |
| authentication(userName: "${artifactory_user}", password: "${artifactory_password}") | |
| } | |
| pom.groupId = 'ru.mail' | |
| pom.artifactId = 'analytics-plugin' | |
| pom.version = '1.4.6' | |
| pom.packaging = 'aar' | |
| } | |
| }*/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment