Move resources under package name prefix #10

This commit is contained in:
mkpaz 2023-02-09 14:02:11 +04:00
parent 90b5ded91f
commit cc6b4c143b
1222 changed files with 5 additions and 12 deletions

@ -31,12 +31,6 @@
<build>
<resources>
<!-- place all resources under module package prefix -->
<resource>
<directory>src/main/resources</directory>
<targetPath>atlantafx/base</targetPath>
<filtering>false</filtering>
</resource>
<!-- copy compiled CSS to the classpath -->
<resource>
<directory>../styles/dist</directory>

@ -91,18 +91,16 @@
<build>
<resources>
<!-- place all resources under module package prefix -->
<!-- filter resources -->
<resource>
<directory>src/main/resources</directory>
<targetPath>atlantafx/sampler</targetPath>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<targetPath>atlantafx/sampler</targetPath>
<filtering>true</filtering>
<includes>
<include>application.properties</include>
<include>atlantafx/sampler/application.properties</include>
</includes>
</resource>
<!-- copy pages for source code viewer -->
@ -138,7 +136,7 @@
<configuration>
<args>
<arg>
${project.basedir}/src/main/resources/assets/styles/scss/index.scss:${project.build.directory}/classes/atlantafx/sampler/assets/styles/index.css
${project.basedir}/src/main/resources/atlantafx/sampler/assets/styles/scss/index.scss:${project.build.directory}/classes/atlantafx/sampler/assets/styles/index.css
</arg>
<arg>--no-source-map</arg>
</args>

@ -33,8 +33,9 @@ module atlantafx.sampler {
opens atlantafx.sampler.fake.domain;
// resources
opens atlantafx.sampler.assets;
opens atlantafx.sampler;
opens atlantafx.sampler.assets.highlightjs;
opens atlantafx.sampler.assets.styles;
opens atlantafx.sampler.images;
opens atlantafx.sampler.images.modena;
}

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Some files were not shown because too many files have changed in this diff Show More