summaryrefslogtreecommitdiffstats
path: root/test cases/java/10 resources/src/meson.build
blob: 51f7d754367bd2de06fe8872874582119bb54efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
sources = files('com/mesonbuild/Resources.java')

resources = jar(
  meson.project_name(),
  sources,
  main_class: 'com.mesonbuild.Resources',
  java_resources: structured_sources(
    files('resources/resource1.txt'),
    {
      'subdir': files('resources/subdir/resource2.txt'),
    }
  )
)