mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:17:25 +08:00
parent
d0e7e60a09
commit
147ea16469
@ -59,6 +59,7 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
|
buildConfig true
|
||||||
viewBinding true
|
viewBinding true
|
||||||
compose true
|
compose true
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,6 @@ import java.util.ArrayList;
|
|||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import me.ag2s.epublib.BuildConfig;
|
|
||||||
import me.ag2s.epublib.Constants;
|
import me.ag2s.epublib.Constants;
|
||||||
import me.ag2s.epublib.domain.EpubBook;
|
import me.ag2s.epublib.domain.EpubBook;
|
||||||
import me.ag2s.epublib.domain.Guide;
|
import me.ag2s.epublib.domain.Guide;
|
||||||
@ -52,11 +51,9 @@ public class PackageDocumentWriter extends PackageDocumentBase {
|
|||||||
serializer.endDocument();
|
serializer.endDocument();
|
||||||
serializer.flush();
|
serializer.flush();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
if (BuildConfig.DEBUG) {
|
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Writes the package's spine.
|
* Writes the package's spine.
|
||||||
|
@ -23,10 +23,17 @@ kotlin.incremental.useClasspathSnapshot=true
|
|||||||
android.enableResourceOptimizations=true
|
android.enableResourceOptimizations=true
|
||||||
android.enableNewResourceShrinker=true
|
android.enableNewResourceShrinker=true
|
||||||
android.experimental.enableNewResourceShrinker.preciseShrinking=true
|
android.experimental.enableNewResourceShrinker.preciseShrinking=true
|
||||||
|
# https://blog.gradle.org/introducing-file-system-watching
|
||||||
|
org.gradle.vfs.watch=true
|
||||||
|
# Disable buildFeatures flags by default
|
||||||
|
android.defaults.buildfeatures.aidl=false
|
||||||
|
android.defaults.buildfeatures.buildconfig=false
|
||||||
|
android.defaults.buildfeatures.renderscript=false
|
||||||
|
android.defaults.buildfeatures.resvalues=false
|
||||||
|
android.defaults.buildfeatures.shaders=false
|
||||||
# enables namespacing of each library's R class so that its R class includes only the resources declared in the library itself
|
# 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.
|
# and none from the library's dependencies, thereby reducing the size of the R class for that library.
|
||||||
android.nonTransitiveRClass=true
|
android.nonTransitiveRClass=true
|
||||||
#https://chromiumdash.appspot.com/releases?platform=Android
|
#https://chromiumdash.appspot.com/releases?platform=Android
|
||||||
CronetVersion=106.0.5249.79
|
CronetVersion=106.0.5249.79
|
||||||
|
|
||||||
android.injected.testOnly=false
|
android.injected.testOnly=false
|
Loading…
Reference in New Issue
Block a user