Skip to content

Commit

Permalink
update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
aykuttasil committed Feb 16, 2019
1 parent 9dddd88 commit b703b47
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 50 deletions.
46 changes: 3 additions & 43 deletions androidbasichelperlib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android {

dependencies {
// testImplementation "junit:junit:4.12"
testImplementation "org.robolectric:robolectric:4.0.2"
testImplementation "com.squareup.okhttp3:mockwebserver:3.8.1"
testImplementation "org.robolectric:robolectric:4.1"
testImplementation "com.squareup.okhttp3:mockwebserver:3.12.1"
testImplementation "androidx.test:core:1.1.0"
testImplementation 'androidx.test:runner:1.1.1'
testImplementation 'androidx.test:rules:1.1.1'
Expand All @@ -47,44 +47,4 @@ dependencies {

implementation "androidx.core:core-ktx:1.0.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
repositories {
mavenCentral()
}


/*
ext {
bintrayRepo = 'maven'
bintrayName = 'basic-helper'
orgName = 'aykuttasil'
publishedGroupId = 'com.aykuttasil'
libraryName = 'Android Basic Helper'
artifact = 'androidbasichelperlib' // module ile aynı isimde olması gerekiyor
libraryDescription = 'Android Basic Helper'
siteUrl = 'https://github.com/aykuttasil/AndroidBasicHelper'
gitUrl = 'https://github.com/aykuttasil/AndroidBasicHelper.git'
libraryVersion = rootProject.ext.libraryVersion
developerId = 'aykuttasil'
developerName = 'Aykut Asil'
developerEmail = 'aykuttasil@gmail.com'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
if (project.rootProject.file('local.properties').exists()) {
apply from: rootProject.file('gradle/install-v1.gradle')
apply from: rootProject.file('gradle/bintray-android-v1.gradle')
}
*/

// ./gradlew clean install bintrayUpload


}
5 changes: 1 addition & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,5 @@ dependencies {
testImplementation 'junit:junit:4.12'
implementation("androidx.appcompat:appcompat:1.0.0")
implementation project(':androidbasichelperlib')
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
repositories {
mavenCentral()
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
buildscript {
ext.kotlin_version = '1.3.11'
ext {
sdk = 28
minSdk = 17
libraryVersion = "1.8"
libraryVersionCode = 18
kotlin_version = '1.3.11'
kotlin_version = '1.3.21'
anko_version = '0.10.8'
}

Expand All @@ -16,7 +15,7 @@ buildscript {

}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.android.tools.build:gradle:3.3.1'
//classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
//classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Expand Down

0 comments on commit b703b47

Please sign in to comment.