Skip to content

Commit 2a53444

Browse files
author
Yannick Platon
committed
Change the visibility of the ActivityAggregate."replaceFragment" and the "AbsSmartFragment" class.
1 parent 5285e4e commit 2a53444

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

library/build.gradle

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: "maven-publish"
55

66
ext
77
{
8-
jacksonVersion="2.9.4"
8+
jacksonVersion = "2.9.4"
99
}
1010

1111
android
@@ -18,7 +18,7 @@ android
1818
targetSdkVersion 27
1919

2020
versionCode 17
21-
versionName "2.9.0.002-SNAPSHOT"
21+
versionName "2.9.0.004-SNAPSHOT"
2222
}
2323

2424
buildTypes
@@ -35,7 +35,7 @@ android
3535
dependencies
3636
{
3737
// Android
38-
implementation ("com.android.support:appcompat-v7:27.1.1")
38+
implementation("com.android.support:appcompat-v7:27.1.1")
3939

4040
// Smart&Soft
4141
api("com.smartnsoft:droid4me:2.9.0.003-SNAPSHOT")
@@ -60,6 +60,13 @@ task javadoc(type: Javadoc) {
6060
options.overview = "src/main/javadoc/overview.html"
6161
options.links = ["http://docs.oracle.com/javase/7/docs/api/", "http://d.android.com/reference/"]
6262

63+
android.libraryVariants.all { variant ->
64+
if (variant.name == 'release')
65+
{
66+
owner.classpath += variant.javaCompiler.classpath
67+
}
68+
}
69+
6370
classpath += project.files(project.android.getBootClasspath().join(File.pathSeparator))
6471
failOnError = false
6572
}
@@ -149,7 +156,7 @@ bintray
149156
{
150157
name = android.defaultConfig.versionName
151158
desc = "droid4me.ext is an extension of the droid4me framework."
152-
released = new Date()
159+
released = new Date()
153160
vcsTag = "droid4me.ext-" + android.defaultConfig.versionName
154161
}
155162
}

library/src/main/java/com/smartnsoft/droid4me/ext/app/AbsSmartFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @author Ludovic Roland
3131
* @since 2016.02.12
3232
*/
33-
final class AbsSmartFragment
33+
public class AbsSmartFragment
3434
extends SmartFragment<Void>
3535
{
3636

library/src/main/java/com/smartnsoft/droid4me/ext/app/ActivityAggregate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public SmartApplicationClass getApplication()
124124
*
125125
* @param fragmentClass the fragment to open
126126
*/
127-
public final void replaceFragment(Class<? extends SmartFragment<?>> fragmentClass)
127+
public void replaceFragment(Class<? extends SmartFragment<?>> fragmentClass)
128128
{
129129
addOrReplaceFragment(fragmentClass, activityAnnotation.fragmentContainerIdentifier(),
130130
activityAnnotation.addFragmentToBackStack(), activityAnnotation.fragmentBackStackName(), null,

0 commit comments

Comments
 (0)