Skip to content

Commit

Permalink
prepare for android x release (3.0.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelbussa committed Aug 20, 2018
1 parent 7270971 commit a345a06
Show file tree
Hide file tree
Showing 23 changed files with 639 additions and 175 deletions.
18 changes: 10 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,31 @@ buildscript {

ext {
var = [
compileSdk: 27,
compileSdk: 28,
minSdk : 14,
targetSdk : 27,
version : "2.0.7",
supportLib: "27.1.1"
targetSdk : 28,
version : "3.0.0",
supportLib: "1.0.0-rc01"
]
}

repositories {
google()
jcenter()
maven { url "https://maven.google.com" }
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
}

dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.novoda:bintray-release:0.8.0'
classpath 'com.android.tools.build:gradle:3.3.0-alpha06'
classpath 'com.novoda:bintray-release:0.8.1'
}
}

allprojects {
repositories {
google()
jcenter()
maven { url "https://maven.google.com" }
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
}
}

Expand Down
6 changes: 2 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.useAndroidX=true
android.enableJetifier=true
9 changes: 7 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,21 @@ android {
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

}

dependencies {
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation "com.android.support:support-annotations:${var.supportLib}"
implementation "androidx.annotation:annotation:${var.supportLib}"
}

publish {
userOrg = 'raphaelbussa'
groupId = 'rebus'
artifactId = 'header-view'
publishVersion = "${var.version}"
desc = 'Create an header for android.support.design.widget.NavigationView'
}
Loading

0 comments on commit a345a06

Please sign in to comment.