Git Product home page Git Product logo

gradle-frontend-plugin's People

Contributors

matsuyoido avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gradle-frontend-plugin's Issues

Development Memo

  1. Google Closure を利用しない方法を模索する
    • コンパイルエラーが発生するため、エラー対策に時間がかかる…
    • https://github.com/yuanyan/UglifyJS-java
    • Closure を Web経由でやることも検討しておく?
      • サーバーに依存した場合、利用できないパターンも発生するためやりたくはない。

Replace use of deprecated IncrementalTaskInputs

The gradle-frontend-plugin uses deprecated Gradle APIs that will be removed in Gradle 8.0. When building a project with Gradle 7.5.1 the following warnings are output:

$ ./gradlew clean build --warning-mode all
> Configure project :my-project
IncrementalTaskInputs has been deprecated. This is scheduled to be removed in Gradle 8.0. On method 'CssMinifyTask.minifyCss' use 'org.gradle.work.InputChanges' instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.5.1/userguide/upgrading_version_7.html#incremental_task_inputs_deprecation
IncrementalTaskInputs has been deprecated. This is scheduled to be removed in Gradle 8.0. On method 'JsMinifyTask.compileJs' use 'org.gradle.work.InputChanges' instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.5.1/userguide/upgrading_version_7.html#incremental_task_inputs_deprecation
IncrementalTaskInputs has been deprecated. This is scheduled to be removed in Gradle 8.0. On method 'JsMergeTask.mergeJavascript' use 'org.gradle.work.InputChanges' instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.5.1/userguide/upgrading_version_7.html#incremental_task_inputs_deprecation

【追加】Extensionに改行の設定を追加する

個人の環境やGitの状況によって、コンパイルを行った際に改行コードが変わった結果、
diff が発生する可能性がある。

diff が常に発生するのは煩わしいので、設定を行える必要がある。

Some files are not minified.

指定ディレクトリ配下のjs,cssファイルの内、一部のファイルが圧縮されない。
ファイル名末尾(拡張子除く)の最後の1文字が以下のいずれかの場合に対象外になっているように見える。

  • '.'
  • 'm'
  • 'i'
  • 'n'

※恐らく*.min.js等を対象外にしようとしていると思いますが、glob文が誤っているようです

super(".min." + extension, "glob:*[!.min]." + extension);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.