Skip to content

Commit

Permalink
Merge pull request #141 from rubensousa/r8-rules
Browse files Browse the repository at this point in the history
Remove consumer proguard rules
  • Loading branch information
rubensousa authored May 7, 2023
2 parents 7a88282 + 9382285 commit 2562617
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 102 deletions.
9 changes: 9 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## Version 1.0.0

### 1.0.0-rc01

2023-05-07

#### Dependency updates

- Removed consumer proguard rules
- Exposed recyclerview dependency to clients

### 1.0.0-beta03

2023-05-03
Expand Down
3 changes: 0 additions & 3 deletions dpadrecyclerview-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ android {
defaultConfig {
minSdk versions.minSdkVersion
targetSdk versions.targetSdkVersion
consumerProguardFiles "consumer-rules.pro"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments useTestStorageService: 'true'
testInstrumentationRunnerArguments listener: 'com.rubensousa.dpadrecyclerview.testfixtures.recording.TestRecordingListener'
Expand All @@ -24,8 +23,6 @@ android {
testCoverageEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

Expand Down
Empty file.
1 change: 0 additions & 1 deletion dpadrecyclerview-compose/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_VERSION=1.0.0-beta03
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview-compose
# POM info
Expand Down
21 changes: 0 additions & 21 deletions dpadrecyclerview-compose/proguard-rules.pro

This file was deleted.

2 changes: 0 additions & 2 deletions dpadrecyclerview-test-fixtures/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ android {

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
Expand Down
Empty file.
21 changes: 0 additions & 21 deletions dpadrecyclerview-test-fixtures/proguard-rules.pro

This file was deleted.

3 changes: 0 additions & 3 deletions dpadrecyclerview-testing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ android {
defaultConfig {
minSdk versions.minSdkVersion
targetSdk versions.targetSdkVersion
consumerProguardFiles "consumer-rules.pro"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments useTestStorageService: 'true'
testInstrumentationRunnerArguments listener: 'com.rubensousa.dpadrecyclerview.testfixtures.recording.TestRecordingListener'
Expand All @@ -24,8 +23,6 @@ android {
testCoverageEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

Expand Down
1 change: 0 additions & 1 deletion dpadrecyclerview-testing/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_VERSION=1.0.0-beta03
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview-testing
# POM info
Expand Down
21 changes: 0 additions & 21 deletions dpadrecyclerview-testing/proguard-rules.pro

This file was deleted.

6 changes: 2 additions & 4 deletions dpadrecyclerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ android {
defaultConfig {
minSdk versions.minSdkVersion
targetSdk versions.targetSdkVersion
consumerProguardFiles "consumer-rules.pro"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments useTestStorageService: 'true'
testInstrumentationRunnerArguments listener: 'com.rubensousa.dpadrecyclerview.testfixtures.recording.TestRecordingListener'
Expand All @@ -24,8 +23,7 @@ android {
testCoverageEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

}
}

Expand Down Expand Up @@ -56,7 +54,7 @@ android {
}

dependencies {
implementation "androidx.recyclerview:recyclerview:$versions.recyclerview"
api "androidx.recyclerview:recyclerview:$versions.recyclerview"
implementation "androidx.collection:collection-ktx:$versions.collection"
testImplementation "junit:junit:$testVersions.junit"
testImplementation "com.google.truth:truth:$testVersions.truth"
Expand Down
Empty file.
1 change: 0 additions & 1 deletion dpadrecyclerview/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_VERSION=1.0.0-beta03
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview
# POM info
Expand Down
21 changes: 0 additions & 21 deletions dpadrecyclerview/proguard-rules.pro

This file was deleted.

4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonTransitiveRClass=true
android.enableR8.fullMode=true
LIBRARY_VERSION=1.0.0-rc01
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ theme:

extra:
dpadrecyclerview:
version: '1.0.0-beta03'
version: '1.0.0-rc01'
social:
- icon: 'fontawesome/brands/github'
link: 'https://github.com/rubensousa/DpadRecyclerView'
Expand Down
7 changes: 6 additions & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ android {
}

buildTypes {
debug {

}
release {
minifyEnabled false
signingConfig signingConfigs.debug
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand Down

0 comments on commit 2562617

Please sign in to comment.