Skip to content

Commit a345a06

Browse files
committed
prepare for android x release (3.0.0)
1 parent 7270971 commit a345a06

23 files changed

Lines changed: 639 additions & 175 deletions

File tree

build.gradle

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,31 @@ buildscript {
2626

2727
ext {
2828
var = [
29-
compileSdk: 27,
29+
compileSdk: 28,
3030
minSdk : 14,
31-
targetSdk : 27,
32-
version : "2.0.7",
33-
supportLib: "27.1.1"
31+
targetSdk : 28,
32+
version : "3.0.0",
33+
supportLib: "1.0.0-rc01"
3434
]
3535
}
3636

3737
repositories {
38+
google()
3839
jcenter()
39-
maven { url "https://maven.google.com" }
40+
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
4041
}
4142

4243
dependencies {
43-
classpath 'com.android.tools.build:gradle:3.1.1'
44-
classpath 'com.novoda:bintray-release:0.8.0'
44+
classpath 'com.android.tools.build:gradle:3.3.0-alpha06'
45+
classpath 'com.novoda:bintray-release:0.8.1'
4546
}
4647
}
4748

4849
allprojects {
4950
repositories {
51+
google()
5052
jcenter()
51-
maven { url "https://maven.google.com" }
53+
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
5254
}
5355
}
5456

gradle.properties

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
# Project-wide Gradle settings.
2-
32
# IDE (e.g. Android Studio) users:
43
# Gradle settings configured through the IDE *will override*
54
# any settings specified in this file.
6-
75
# For more details on how to configure your build environment visit
86
# http://www.gradle.org/docs/current/userguide/build_environment.html
9-
107
# Specifies the JVM arguments used for the daemon process.
118
# The setting is particularly useful for tweaking memory settings.
129
org.gradle.jvmargs=-Xmx1536m
13-
1410
# When configured, Gradle will run in incubating parallel mode.
1511
# This option should only be used with decoupled projects. More details, visit
1612
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1713
# org.gradle.parallel=true
14+
android.useAndroidX=true
15+
android.enableJetifier=true

library/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,21 @@ android {
5050
abortOnError false
5151
}
5252

53+
compileOptions {
54+
sourceCompatibility JavaVersion.VERSION_1_8
55+
targetCompatibility JavaVersion.VERSION_1_8
56+
}
57+
5358
}
5459

5560
dependencies {
56-
implementation 'de.hdodenhof:circleimageview:2.1.0'
57-
implementation "com.android.support:support-annotations:${var.supportLib}"
61+
implementation "androidx.annotation:annotation:${var.supportLib}"
5862
}
5963

6064
publish {
6165
userOrg = 'raphaelbussa'
6266
groupId = 'rebus'
6367
artifactId = 'header-view'
6468
publishVersion = "${var.version}"
69+
desc = 'Create an header for android.support.design.widget.NavigationView'
6570
}

0 commit comments

Comments
 (0)