mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
42eb5464fd
This is an early release and there are several things that are known not to work if you're porting your iOS app to Android. See the Known Issues guide on the website. We will work with the community to reach platform parity with iOS.
21 lines
405 B
Java
21 lines
405 B
Java
package com.facebook.react;
|
|
|
|
import java.io.IOException;
|
|
|
|
import org.gradle.api.tasks.TaskAction;
|
|
|
|
/**
|
|
* Gradle task that copies the prod bundle to the debug build's assets.
|
|
*/
|
|
public class PackageReleaseJsTask extends AbstractPackageJsTask {
|
|
|
|
public PackageReleaseJsTask() throws IOException {
|
|
super(false);
|
|
}
|
|
|
|
@TaskAction
|
|
public void packageJS() throws Exception {
|
|
copyBundle();
|
|
}
|
|
}
|