Skip to content

Commit

Permalink
enable minify for library module
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshil Shah committed Aug 20, 2024
1 parent 2eef330 commit fba9f73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ dependencies {
androidTestImplementation(libs.androidx.ui.test.junit4)
debugImplementation(libs.androidx.ui.tooling)
debugImplementation(libs.androidx.ui.test.manifest)
// implementation("com.github.shahharshil0:jitpack-sample:0.0.2")
implementation("com.github.shahharshil0:jitpack-sample:0.0.4")
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import com.example.android.jitpacksample.ui.theme.JitpackSampleTheme
import com.example.android.mylibrary.EmailHelper

class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
Expand All @@ -27,6 +28,8 @@ class MainActivity : ComponentActivity() {
}
}
}

EmailHelper.updateEmail("")
}
}

Expand Down
2 changes: 1 addition & 1 deletion mylibrary/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {

buildTypes {
release {
isMinifyEnabled = false
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
Expand Down

0 comments on commit fba9f73

Please sign in to comment.