Skip to content

Commit

Permalink
v30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anggrayudi committed Nov 19, 2020
1 parent 94c55cf commit 9d36901
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
android.enableJetifier=true
android.useAndroidX=true
kotlin.code.style=official
RESOURCES_HELPER_VERSION=30.0-SNAPSHOT
RESOURCES_HELPER_VERSION=30.0
5 changes: 1 addition & 4 deletions resources-helper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,4 @@ ext {
POM_DEVELOPER_URL = "https://github.com/anggrayudi/"
}

apply plugin: "com.vanniktech.maven.publish"
repositories {
mavenCentral()
}
apply plugin: "com.vanniktech.maven.publish"
18 changes: 16 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,36 @@ android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

signingConfigs {
debug {
keyAlias 'androiddebugkey'
keyPassword 'android'
storePassword 'android'
storeFile file("${System.properties['user.home']}${File.separator}.android${File.separator}debug.keystore")
}
}

defaultConfig {
applicationId "com.anggrayudi.hiddenapi.sample"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "$RESOURCES_HELPER_VERSION"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

flavorDimensions "librarySource"
productFlavors {
local {
Expand All @@ -47,8 +63,6 @@ dependencies {
implementation "androidx.core:core-ktx:1.3.2"
implementation 'com.jakewharton.timber:timber:4.7.1'

// implementation project(':resources-helper')

// If you want to modify this library's source code, set build variant to 'local'.
localImplementation project(':resources-helper')
mavenImplementation("com.anggrayudi:android-hidden-api:$RESOURCES_HELPER_VERSION") { changing = true }
Expand Down

0 comments on commit 9d36901

Please sign in to comment.